commit | ebe9cb3bb13e7b9b281969cd279ce70834f7500f | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Apr 28 15:41:15 2015 +0200 |
committer | J. Bruce Fields <bfields@redhat.com> | Mon May 04 12:02:38 2015 -0400 |
tree | 36b7416e6f7bcf4dd5c607fb1f6bbfe831420658 | |
parent | 40cdc7a530c7a075557651a071354bb42b99df08 [diff] |
nfsd: fix the check for confirmed openowner in nfs4_preprocess_stateid_op If we find a non-confirmed openowner we jump to exit the function, but do not set an error value. Fix this by factoring out a helper to do the check and properly set the error from nfsd4_validate_stateid. Cc: stable@vger.kernel.org Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: J. Bruce Fields <bfields@redhat.com>