commit | 03d12ddf845a4eb874ffa558d65a548aee9b715b | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@primarydata.com> | Mon Sep 01 14:53:41 2014 -0400 |
committer | Jeff Layton <jlayton@primarydata.com> | Tue Oct 07 14:06:13 2014 -0400 |
tree | 50938f4d5a07c448a8efa3d70367c3ceea669450 | |
parent | 843c6b2f4cef384af8e0de6b7ac7191675030e3a [diff] |
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>