From 03d12ddf845a4eb874ffa558d65a548aee9b715b Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Mon, 1 Sep 2014 14:53:41 -0400 Subject: [PATCH] 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-format-patch failed