From: Jeff Layton Date: Mon, 1 Sep 2014 18:53:41 +0000 (-0400) Subject: locks: __break_lease cleanup in preparation of allowing direct removal of leases X-Git-Tag: fixes-against-v3.18-rc2~119^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03d12ddf845a4eb874ffa558d65a548aee9b715b;p=pandora-kernel.git 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 Reviewed-by: Christoph Hellwig --- Reading git-diff-tree failed