Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6244c78 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Sasha Levin
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent 314b9cf3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment