summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/fault_inject.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@primarydata.com>2014-07-30 14:27:19 +0200
committerJ. Bruce Fields <bfields@redhat.com>2014-08-05 16:55:05 +0200
commit69fc9edf987ca451831575b1e5450a9fe49fbfe0 (patch)
tree862e96ba621daf5a341706d0101c965e8907585d /fs/nfsd/fault_inject.c
parentnfsd: add a forget_client set_clnt routine (diff)
downloadlinux-69fc9edf987ca451831575b1e5450a9fe49fbfe0.tar.xz
linux-69fc9edf987ca451831575b1e5450a9fe49fbfe0.zip
nfsd: add nfsd_inject_forget_clients
...which uses the client_lock for protection instead of client_mutex. Also remove nfsd_forget_client as there are no more callers. Signed-off-by: Jeff Layton <jlayton@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/fault_inject.c')
-rw-r--r--fs/nfsd/fault_inject.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfsd/fault_inject.c b/fs/nfsd/fault_inject.c
index 5f3ead0c72fb..76ecdff37ea2 100644
--- a/fs/nfsd/fault_inject.c
+++ b/fs/nfsd/fault_inject.c
@@ -135,9 +135,8 @@ static struct nfsd_fault_inject_op inject_ops[] = {
{
.file = "forget_clients",
.get = nfsd_inject_print_clients,
- .set_val = nfsd_inject_set,
+ .set_val = nfsd_inject_forget_clients,
.set_clnt = nfsd_inject_forget_client,
- .forget = nfsd_forget_client,
},
{
.file = "forget_locks",