aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
authorAlexandros Batsakis <batsakis@netapp.com>2009-12-15 00:27:58 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-12-15 13:58:23 -0500
commit5601a00d671fe89f9b087513244abcd08ad67e7d (patch)
treefbc2a850ab9d82bb796294403b2d3e9b57f9e7f9 /fs/nfs/nfs4proc.c
parentb257957e502a2c467c3c75005215a3f45ecb7f25 (diff)
nfs: run state manager in privileged mode
Signed-off-by: Alexandros Batsakis <batsakis@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r--fs/nfs/nfs4proc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 18cce76867ce..4d6560a73949 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -477,7 +477,8 @@ static int nfs41_setup_sequence(struct nfs4_session *session,
477 tbl = &session->fc_slot_table; 477 tbl = &session->fc_slot_table;
478 478
479 spin_lock(&tbl->slot_tbl_lock); 479 spin_lock(&tbl->slot_tbl_lock);
480 if (test_bit(NFS4CLNT_SESSION_DRAINING, &session->clp->cl_state)) { 480 if (test_bit(NFS4CLNT_SESSION_DRAINING, &session->clp->cl_state) &&
481 !rpc_task_has_priority(task, RPC_PRIORITY_PRIVILEGED)) {
481 /* 482 /*
482 * The state manager will wait until the slot table is empty. 483 * The state manager will wait until the slot table is empty.
483 * Schedule the reset thread 484 * Schedule the reset thread