From: Jeff Layton Date: Wed, 30 Jul 2014 01:34:11 +0000 (-0400) Subject: nfsd: do filp_close in sc_free callback for lock stateids X-Git-Tag: omap-for-v3.17/fixes-against-rc2~101^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b49e084d8c7df1632bb2b94ae1a21c8a4cf2d8a4;p=pandora-kernel.git nfsd: do filp_close in sc_free callback for lock stateids Releasing locks when we unhash the stateid instead of doing so only when the stateid is actually released will be problematic in later patches when we need to protect the unhashing with spinlocks. Move it into the sc_free operation instead. Signed-off-by: Jeff Layton Reviewed-by: Christoph Hellwig Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed