From: J. Bruce Fields Date: Tue, 22 Oct 2019 16:29:37 +0000 (-0400) Subject: nfsd: mark cb path down on unknown errors X-Git-Tag: Ubuntu-5.10.0-12.13~3939^2~13 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=20428a8047eac2fe3b493b454232dfd18d7f3d34;p=mirror_ubuntu-hirsute-kernel.git nfsd: mark cb path down on unknown errors An unexpected error is probably a sign that something is wrong with the callback path. Signed-off-by: J. Bruce Fields --- diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c index 67d24a536082..c94768b096a3 100644 --- a/fs/nfsd/nfs4callback.c +++ b/fs/nfsd/nfs4callback.c @@ -1126,6 +1126,7 @@ static bool nfsd4_cb_sequence_done(struct rpc_task *task, struct nfsd4_callback } break; default: + nfsd4_mark_cb_fault(cb->cb_clp, cb->cb_seq_status); dprintk("%s: unprocessed error %d\n", __func__, cb->cb_seq_status); }