locks: only remove leases associated with the file being closed
We don't want to remove all leases just because one filp was closed.
Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Showing
Please register or sign in to comment