diff options
author | Alexandros Batsakis <batsakis@netapp.com> | 2009-12-15 06:27:58 +0100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-12-15 19:58:23 +0100 |
commit | 5601a00d671fe89f9b087513244abcd08ad67e7d (patch) | |
tree | fbc2a850ab9d82bb796294403b2d3e9b57f9e7f9 /fs/nfs/nfs4proc.c | |
parent | nfs: make recovery state manager operations privileged (diff) | |
download | linux-5601a00d671fe89f9b087513244abcd08ad67e7d.tar.xz linux-5601a00d671fe89f9b087513244abcd08ad67e7d.zip |
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.c | 3 |
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, tbl = &session->fc_slot_table; spin_lock(&tbl->slot_tbl_lock); - if (test_bit(NFS4CLNT_SESSION_DRAINING, &session->clp->cl_state)) { + if (test_bit(NFS4CLNT_SESSION_DRAINING, &session->clp->cl_state) && + !rpc_task_has_priority(task, RPC_PRIORITY_PRIVILEGED)) { /* * The state manager will wait until the slot table is empty. * Schedule the reset thread |