aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r--fs/nfs/nfs4proc.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index b2104461ed4f..fcc2408d7ab0 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -552,13 +552,10 @@ int nfs41_setup_sequence(struct nfs4_session *session,
552 spin_lock(&tbl->slot_tbl_lock); 552 spin_lock(&tbl->slot_tbl_lock);
553 if (test_bit(NFS4_SESSION_DRAINING, &session->session_state) && 553 if (test_bit(NFS4_SESSION_DRAINING, &session->session_state) &&
554 !rpc_task_has_priority(task, RPC_PRIORITY_PRIVILEGED)) { 554 !rpc_task_has_priority(task, RPC_PRIORITY_PRIVILEGED)) {
555 /* 555 /* The state manager will wait until the slot table is empty */
556 * The state manager will wait until the slot table is empty.
557 * Schedule the reset thread
558 */
559 rpc_sleep_on(&tbl->slot_tbl_waitq, task, NULL); 556 rpc_sleep_on(&tbl->slot_tbl_waitq, task, NULL);
560 spin_unlock(&tbl->slot_tbl_lock); 557 spin_unlock(&tbl->slot_tbl_lock);
561 dprintk("%s Schedule Session Reset\n", __func__); 558 dprintk("%s session is draining\n", __func__);
562 return -EAGAIN; 559 return -EAGAIN;
563 } 560 }
564 561