summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/state.h
diff options
context:
space:
mode:
authorBryan Schumaker <bjschuma@netapp.com>2012-11-29 11:40:46 -0500
committerJ. Bruce Fields <bfields@redhat.com>2012-12-03 09:59:03 -0500
commit6c1e82a4b74ad0c8b45c833a4409f153199d9be4 (patch)
tree10734030e4b308f16680de6f54db3af76ecca8b3 /fs/nfsd/state.h
parentd7cc431edd0a6c69a88b5ff1e304af50bfb2270e (diff)
downloadop-kernel-dev-6c1e82a4b74ad0c8b45c833a4409f153199d9be4.zip
op-kernel-dev-6c1e82a4b74ad0c8b45c833a4409f153199d9be4.tar.gz
NFSD: Forget state for a specific client
Write the client's ip address to any state file and all appropriate state for that client will be forgotten. Signed-off-by: Bryan Schumaker <bjschuma@netapp.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r--fs/nfsd/state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h
index 4017f35..d1c229f 100644
--- a/fs/nfsd/state.h
+++ b/fs/nfsd/state.h
@@ -502,6 +502,7 @@ extern void nfsd4_record_grace_done(struct nfsd_net *nn, time_t boot_time);
int nfsd_fault_inject_init(void);
void nfsd_fault_inject_cleanup(void);
u64 nfsd_for_n_state(u64, u64 (*)(struct nfs4_client *, u64));
+struct nfs4_client *nfsd_find_client(struct sockaddr_storage *, size_t);
u64 nfsd_forget_client(struct nfs4_client *, u64);
u64 nfsd_forget_client_locks(struct nfs4_client*, u64);
OpenPOWER on IntegriCloud