NFSD: fix error handling in NFSv4.0 callbacks
authorOlga Kornievskaia <kolga@netapp.com>
Thu, 11 Mar 2021 15:55:00 +0000 (10:55 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Thu, 11 Mar 2021 15:58:49 +0000 (10:58 -0500)
commitb4250dd868d1b42c0a65de11ef3afbee67ba5d2f
tree14d92fec167a211d6299eef16d95a242a8f07b57
parent614c9750173e412663728215152cc6d12bcb3425
NFSD: fix error handling in NFSv4.0 callbacks

When the server tries to do a callback and a client fails it due to
authentication problems, we need the server to set callback down
flag in RENEW so that client can recover.

Suggested-by: Bruce Fields <bfields@redhat.com>
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Tested-by: Benjamin Coddington <bcodding@redhat.com>
Link: https://lore.kernel.org/linux-nfs/FB84E90A-1A03-48B3-8BF7-D9D10AC2C9FE@oracle.com/T/#t
fs/nfsd/nfs4callback.c