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>
This commit is contained in:
Jeff Layton 2015-02-16 19:37:42 -05:00
commit c4e136cda1