summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2013-02-11 16:21:42 -0500
committerJ. Bruce Fields <bfields@redhat.com>2013-02-11 16:22:50 -0500
commite56a316214d0f1e2446fa7a717309f9414564d9d (patch)
tree06e450932965aadbdd81cb266e9b6d9fdba36057 /fs/nfsd
parent01a7decf75930925322c5efc87af0b5e58eb8650 (diff)
downloadop-kernel-dev-e56a316214d0f1e2446fa7a717309f9414564d9d.zip
op-kernel-dev-e56a316214d0f1e2446fa7a717309f9414564d9d.tar.gz
nfsd4: free_stid can be static
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfs4state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 60a2282..c1a6ddf 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
return dp;
}
-void free_stid(struct nfs4_stid *s, struct kmem_cache *slab)
+static void free_stid(struct nfs4_stid *s, struct kmem_cache *slab)
{
struct idr *stateids = &s->sc_client->cl_stateids;
OpenPOWER on IntegriCloud