diff options
author | Jeff Layton <jlayton@primarydata.com> | 2014-09-01 14:53:41 -0400 |
---|---|---|
committer | Jeff Layton <jlayton@primarydata.com> | 2014-10-07 14:06:13 -0400 |
commit | 03d12ddf845a4eb874ffa558d65a548aee9b715b (patch) | |
tree | 50938f4d5a07c448a8efa3d70367c3ceea669450 /scripts | |
parent | 843c6b2f4cef384af8e0de6b7ac7191675030e3a (diff) | |
download | op-kernel-dev-03d12ddf845a4eb874ffa558d65a548aee9b715b.zip op-kernel-dev-03d12ddf845a4eb874ffa558d65a548aee9b715b.tar.gz |
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 'scripts')
0 files changed, 0 insertions, 0 deletions