summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2023-02-03 13:18:34 -0500
committerChuck Lever <chuck.lever@oracle.com>2023-02-20 09:20:57 -0500
commitdcd779dc46540e174a6ac8d52fbed23593407317 (patch)
treeaeb3492349da51680817fbcdf3869dd9c2d60c19 /net/sunrpc
parent81e722978ad21072470b73d8f6a50ad62c7d5b7d (diff)
downloadlinux-stable-dcd779dc46540e174a6ac8d52fbed23593407317.tar.gz
linux-stable-dcd779dc46540e174a6ac8d52fbed23593407317.tar.bz2
linux-stable-dcd779dc46540e174a6ac8d52fbed23593407317.zip
nfsd: fix courtesy client with deny mode handling in nfs4_upgrade_open
The nested if statements here make no sense, as you can never reach "else" branch in the nested statement. Fix the error handling for when there is a courtesy client that holds a conflicting deny mode. Fixes: 3d6942715180 ("NFSD: add support for share reservation conflict to courteous server") Reported-by: 張智諺 <cc85nod@gmail.com> Signed-off-by: Jeff Layton <jlayton@kernel.org> Reviewed-by: Dai Ngo <dai.ngo@oracle.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions