From: Jeff Layton Date: Fri, 22 Aug 2014 22:50:48 +0000 (-0400) Subject: locks: move i_lock acquisition into generic_*_lease handlers X-Git-Tag: fixes-against-v3.18-rc2~119^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f82b4b6780afabce9d9a91c84fae17ec3d63b9d7;p=pandora-kernel.git locks: move i_lock acquisition into generic_*_lease handlers Now that we have a saner internal API for managing leases, we no longer need to mandate that the inode->i_lock be held over most of the lease code. Push it down into generic_add_lease and generic_delete_lease. Signed-off-by: Jeff Layton Reviewed-by: Christoph Hellwig --- Reading git-diff-tree failed