diff options
author | Christoph Hellwig <hch@lst.de> | 2014-08-14 02:44:57 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2015-02-02 12:09:40 -0500 |
commit | cd61c522318f2c30ce731bfdb14e7c34203e3d7c (patch) | |
tree | 0437c9347c8b2464643eb2743a26452cb619a2e6 /fs/nfsd/state.h | |
parent | 9558f2500a2028ffc05cfd8fceaa0fe0a0a3804e (diff) |
nfsd: make lookup/alloc/unhash_stid available outside nfs4state.c
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r-- | fs/nfsd/state.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index dab6553ceea1..55a3ece5fe06 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h | |||
@@ -545,6 +545,12 @@ struct nfsd_net; | |||
545 | extern __be32 nfs4_preprocess_stateid_op(struct net *net, | 545 | extern __be32 nfs4_preprocess_stateid_op(struct net *net, |
546 | struct nfsd4_compound_state *cstate, | 546 | struct nfsd4_compound_state *cstate, |
547 | stateid_t *stateid, int flags, struct file **filp); | 547 | stateid_t *stateid, int flags, struct file **filp); |
548 | __be32 nfsd4_lookup_stateid(struct nfsd4_compound_state *cstate, | ||
549 | stateid_t *stateid, unsigned char typemask, | ||
550 | struct nfs4_stid **s, struct nfsd_net *nn); | ||
551 | struct nfs4_stid *nfs4_alloc_stid(struct nfs4_client *cl, | ||
552 | struct kmem_cache *slab); | ||
553 | void nfs4_unhash_stid(struct nfs4_stid *s); | ||
548 | void nfs4_put_stid(struct nfs4_stid *s); | 554 | void nfs4_put_stid(struct nfs4_stid *s); |
549 | void nfs4_remove_reclaim_record(struct nfs4_client_reclaim *, struct nfsd_net *); | 555 | void nfs4_remove_reclaim_record(struct nfs4_client_reclaim *, struct nfsd_net *); |
550 | extern void nfs4_release_reclaim(struct nfsd_net *); | 556 | extern void nfs4_release_reclaim(struct nfsd_net *); |