summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/state.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@primarydata.com>2014-07-30 08:27:18 -0400
committerJ. Bruce Fields <bfields@redhat.com>2014-08-05 10:55:04 -0400
commita0926d15271a0139606d54d0521c527746e2815b (patch)
treea4f0b952e2433fe3c505f7136c63d63934b396d9 /fs/nfsd/state.h
parent7ec0e36f1a35c9c241726f6639178fafda654e09 (diff)
downloadlinux-stable-a0926d15271a0139606d54d0521c527746e2815b.tar.gz
linux-stable-a0926d15271a0139606d54d0521c527746e2815b.tar.bz2
linux-stable-a0926d15271a0139606d54d0521c527746e2815b.zip
nfsd: add a forget_client set_clnt routine
...that relies on the client_lock instead of client_mutex. Signed-off-by: Jeff Layton <jlayton@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r--fs/nfsd/state.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h
index 7c7580ea9680..77a1903d58ab 100644
--- a/fs/nfsd/state.h
+++ b/fs/nfsd/state.h
@@ -480,6 +480,9 @@ struct nfs4_client *nfsd_find_client(struct sockaddr_storage *, size_t);
u64 nfsd_inject_print_clients(struct nfsd_fault_inject_op *op);
u64 nfsd_forget_client(struct nfs4_client *, u64);
+u64 nfsd_inject_forget_client(struct nfsd_fault_inject_op *,
+ struct sockaddr_storage *, size_t);
+
u64 nfsd_forget_client_locks(struct nfs4_client*, u64);
u64 nfsd_forget_client_openowners(struct nfs4_client *, u64);
u64 nfsd_forget_client_delegations(struct nfs4_client *, u64);