diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2013-02-11 16:21:42 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-02-11 16:22:50 -0500 |
commit | e56a316214d0f1e2446fa7a717309f9414564d9d (patch) | |
tree | 06e450932965aadbdd81cb266e9b6d9fdba36057 /fs/nfsd/nfs4state.c | |
parent | 01a7decf75930925322c5efc87af0b5e58eb8650 (diff) |
nfsd4: free_stid can be static
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-rw-r--r-- | fs/nfsd/nfs4state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 60a2282905e0..c1a6ddf3a84a 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
@@ -350,7 +350,7 @@ alloc_init_deleg(struct nfs4_client *clp, struct nfs4_ol_stateid *stp, struct sv | |||
350 | return dp; | 350 | return dp; |
351 | } | 351 | } |
352 | 352 | ||
353 | void free_stid(struct nfs4_stid *s, struct kmem_cache *slab) | 353 | static void free_stid(struct nfs4_stid *s, struct kmem_cache *slab) |
354 | { | 354 | { |
355 | struct idr *stateids = &s->sc_client->cl_stateids; | 355 | struct idr *stateids = &s->sc_client->cl_stateids; |
356 | 356 | ||