diff options
author | J. Bruce Fields <bfields@redhat.com> | 2019-10-22 19:29:37 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-11-08 20:32:59 +0300 |
commit | 20428a8047eac2fe3b493b454232dfd18d7f3d34 (patch) | |
tree | 8f79967c452a2d20db935a83e92b20964724123b /fs/nfsd/nfs4callback.c | |
parent | 2bbfed98a4d82ac4e7abfcd4eba40bddfc670b1d (diff) | |
download | linux-20428a8047eac2fe3b493b454232dfd18d7f3d34.tar.xz |
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 <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4callback.c')
-rw-r--r-- | fs/nfsd/nfs4callback.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |