From: Jeff Layton Date: Mon, 1 Sep 2014 11:12:07 +0000 (-0400) Subject: locks: move freeing of leases outside of i_lock X-Git-Tag: fixes-against-v3.18-rc2~119^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c45198eda2794bb72601c9f96266d8b95db66dd5;p=pandora-kernel.git locks: move freeing of leases outside of i_lock There was only one place where we still could free a file_lock while holding the i_lock -- lease_modify. Add a new list_head argument to the lm_change operation, pass in a private list when calling it, and fix those callers to dispose of the list once the lock has been dropped. Signed-off-by: Jeff Layton Reviewed-by: Christoph Hellwig --- Reading git-diff-tree failed