diff options
author | Jeff Layton <jlayton@primarydata.com> | 2014-07-30 16:27:19 +0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-08-05 18:55:05 +0400 |
commit | 69fc9edf987ca451831575b1e5450a9fe49fbfe0 (patch) | |
tree | 862e96ba621daf5a341706d0101c965e8907585d /fs/nfsd/state.h | |
parent | a0926d15271a0139606d54d0521c527746e2815b (diff) | |
download | linux-69fc9edf987ca451831575b1e5450a9fe49fbfe0.tar.xz |
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/state.h')
-rw-r--r-- | fs/nfsd/state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index 77a1903d58ab..eb3b35a74795 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h @@ -479,9 +479,9 @@ u64 nfsd_for_n_state(u64, u64 (*)(struct nfs4_client *, u64)); 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_inject_forget_clients(struct nfsd_fault_inject_op *, u64); u64 nfsd_forget_client_locks(struct nfs4_client*, u64); u64 nfsd_forget_client_openowners(struct nfs4_client *, u64); |