diff options
author | Jeff Layton <jlayton@primarydata.com> | 2014-09-01 20:53:41 +0200 |
---|---|---|
committer | Jeff Layton <jlayton@primarydata.com> | 2014-10-07 20:06:13 +0200 |
commit | 03d12ddf845a4eb874ffa558d65a548aee9b715b (patch) | |
tree | 50938f4d5a07c448a8efa3d70367c3ceea669450 /fs/nfsd | |
parent | locks: remove i_have_this_lease check from __break_lease (diff) | |
download | linux-03d12ddf845a4eb874ffa558d65a548aee9b715b.tar.xz linux-03d12ddf845a4eb874ffa558d65a548aee9b715b.zip |
locks: __break_lease cleanup in preparation of allowing direct removal of leases
Eliminate an unneeded "flock" variable. We can use "fl" as a loop cursor
everywhere. Add a any_leases_conflict helper function as well to
consolidate a bit of code.
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/nfsd')
0 files changed, 0 insertions, 0 deletions