diff options
author | Andy Adamson <andros@netapp.com> | 2011-11-09 13:58:26 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-01-05 10:42:41 -0500 |
commit | 0b1c8fc43c1f9fcde2d18182988f05eeaaae509b (patch) | |
tree | 4344085c8e7ab53ea20c421b0a7dc0ecedefa505 /fs/nfs/nfs4proc.c | |
parent | aabd0b40b327d5c6518c8c908819b9bf864ad56a (diff) |
NFSv4.1: cleanup comment and debug printk
Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 7 |
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 | ||