diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-06-30 11:48:35 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-07-08 17:14:34 -0400 |
commit | b607664ee74313c7f3f657a044eda572051e560e (patch) | |
tree | 00dab46b036c804d88d51126ced5d28c44a37b2a /fs/nfsd/state.h | |
parent | e17f99b728006fcebcf025b32fa7370bb998fb81 (diff) | |
download | linux-stable-b607664ee74313c7f3f657a044eda572051e560e.tar.gz linux-stable-b607664ee74313c7f3f657a044eda572051e560e.tar.bz2 linux-stable-b607664ee74313c7f3f657a044eda572051e560e.zip |
nfsd: Cleanup nfs4svc_encode_compoundres
Move the slot return, put session etc into a helper in fs/nfsd/nfs4state.c
instead of open coding in nfs4svc_encode_compoundres.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r-- | fs/nfsd/state.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index 374c66283ac5..62f33b7ec10c 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h @@ -476,7 +476,6 @@ extern void nfs4_put_delegation(struct nfs4_delegation *dp); extern struct nfs4_client_reclaim *nfs4_client_to_reclaim(const char *name, struct nfsd_net *nn); extern bool nfs4_has_reclaimed_state(const char *name, struct nfsd_net *nn); -extern void put_client_renew(struct nfs4_client *clp); /* nfs4recover operations */ extern int nfsd4_client_tracking_init(struct net *net); |