diff options
author | Christoph Hellwig <hch@lst.de> | 2015-04-28 15:41:15 +0200 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2015-06-10 13:42:35 -0400 |
commit | d6244c787f103b95e0f68283c8546afeaa7b046a (patch) | |
tree | ef222a07d7120bfa6bbecaac97d42daca693851d /lib | |
parent | 314b9cf3be0a02e5866f2a45e1d259cbff042dc2 (diff) | |
download | lwn-d6244c787f103b95e0f68283c8546afeaa7b046a.tar.gz lwn-d6244c787f103b95e0f68283c8546afeaa7b046a.zip |
nfsd: fix the check for confirmed openowner in nfs4_preprocess_stateid_op
[ Upstream commit ebe9cb3bb13e7b9b281969cd279ce70834f7500f ]
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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions