summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4session.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2013-08-09 12:49:02 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-09-03 15:26:34 -0400
commiteb2a1cd3c9df70ef84e91f2fc657fd19682346ca (patch)
tree19b05ee26617010e9da68b6800c94a1b47327210 /fs/nfs/nfs4session.h
parent744aa5253010636bb56f062336e9cae3132a46fb (diff)
downloadblackbird-op-linux-eb2a1cd3c9df70ef84e91f2fc657fd19682346ca.tar.gz
blackbird-op-linux-eb2a1cd3c9df70ef84e91f2fc657fd19682346ca.zip
NFS: Add global helper for releasing slot table resources
The nfs4_destroy_slot_tables() function is renamed to avoid confusion with the new helper. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4session.h')
-rw-r--r--fs/nfs/nfs4session.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4session.h b/fs/nfs/nfs4session.h
index f223a7648f9e..bfb0fe38f024 100644
--- a/fs/nfs/nfs4session.h
+++ b/fs/nfs/nfs4session.h
@@ -74,6 +74,7 @@ enum nfs4_session_state {
extern int nfs4_setup_slot_table(struct nfs4_slot_table *tbl,
unsigned int max_reqs, const char *queue);
+extern void nfs4_release_slot_table(struct nfs4_slot_table *tbl);
extern struct nfs4_slot *nfs4_alloc_slot(struct nfs4_slot_table *tbl);
extern void nfs4_free_slot(struct nfs4_slot_table *tbl, struct nfs4_slot *slot);
extern void nfs4_slot_tbl_drain_complete(struct nfs4_slot_table *tbl);
OpenPOWER on IntegriCloud