From: Jeff Layton Date: Thu, 10 Jul 2014 18:07:35 +0000 (-0400) Subject: nfsd: cleanup and rename nfs4_check_open X-Git-Tag: omap-for-v3.17/fixes-against-rc2~101^2~113 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a46cb7f2878d22b5df190970416cea40982ec2fb;p=pandora-kernel.git nfsd: cleanup and rename nfs4_check_open Rename it to better describe what it does, and have it just return the stateid instead of a __be32 (which is now always nfs_ok). Also, do the search for an existing stateid after the delegation check, to reduce cleanup if the delegation check returns error. Signed-off-by: Jeff Layton Reviewed-by: Christoph Hellwig Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed