locks: __break_lease cleanup in preparation of allowing direct removal of leases
authorJeff Layton <jlayton@primarydata.com>
Mon, 1 Sep 2014 18:53:41 +0000 (14:53 -0400)
committerJeff Layton <jlayton@primarydata.com>
Tue, 7 Oct 2014 18:06:13 +0000 (14:06 -0400)
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>

No differences found