From: Trond Myklebust Date: Thu, 10 Jul 2014 18:07:27 +0000 (-0400) Subject: nfsd: clean up helper __release_lock_stateid X-Git-Tag: omap-for-v3.17/fixes-against-rc2~101^2~121 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e20fcf1e6586ff1620adc345ad2a93d5ee5def59;p=pandora-kernel.git nfsd: clean up helper __release_lock_stateid Use filp_close instead of open coding. filp_close does a bit more than just release the locks and put the filp. It also calls ->flush and dnotify_flush, both of which should be done here anyway. Signed-off-by: Trond Myklebust Signed-off-by: Jeff Layton Reviewed-by: Christoph Hellwig Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed