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>
This commit is contained in:
Родитель
2bbfed98a4
Коммит
20428a8047
|
@ -1126,6 +1126,7 @@ static bool nfsd4_cb_sequence_done(struct rpc_task *task, struct nfsd4_callback
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
nfsd4_mark_cb_fault(cb->cb_clp, cb->cb_seq_status);
|
||||||
dprintk("%s: unprocessed error %d\n", __func__,
|
dprintk("%s: unprocessed error %d\n", __func__,
|
||||||
cb->cb_seq_status);
|
cb->cb_seq_status);
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче