Skip to content

Commit 20428a8

Browse files
author
J. Bruce Fields
committed
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 <[email protected]>
1 parent 2bbfed9 commit 20428a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/nfsd/nfs4callback.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,6 +1126,7 @@ static bool nfsd4_cb_sequence_done(struct rpc_task *task, struct nfsd4_callback
11261126
}
11271127
break;
11281128
default:
1129+
nfsd4_mark_cb_fault(cb->cb_clp, cb->cb_seq_status);
11291130
dprintk("%s: unprocessed error %d\n", __func__,
11301131
cb->cb_seq_status);
11311132
}

0 commit comments

Comments
 (0)