From: Jeff Layton Date: Mon, 11 Aug 2014 22:14:12 +0000 (-0400) Subject: locks: move locks_free_lock calls in do_fcntl_add_lease outside spinlock X-Git-Tag: cleanup-for-v3.18~8^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dfb928f7e5977a3faac943c134bbda5ae492629;p=pandora-kernel.git locks: move locks_free_lock calls in do_fcntl_add_lease outside spinlock There's no need to call locks_free_lock here while still holding the i_lock. Defer that until the lock has been dropped. Acked-by: J. Bruce Fields Signed-off-by: Jeff Layton --- Reading git-diff-tree failed