commit | a46cb7f2878d22b5df190970416cea40982ec2fb | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@primarydata.com> | Thu Jul 10 14:07:35 2014 -0400 |
committer | J. Bruce Fields <bfields@redhat.com> | Fri Jul 11 11:06:38 2014 -0400 |
tree | 80c1e2dbe7b1968d057587486b8fe70be4fd7562 | |
parent | baeb4ff0e50281db6925223a096a506f02993b88 [diff] |
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 <jlayton@primarydata.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com>