summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4state.c
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2013-02-11 22:21:42 +0100
committerJ. Bruce Fields <bfields@redhat.com>2013-02-11 22:22:50 +0100
commite56a316214d0f1e2446fa7a717309f9414564d9d (patch)
tree06e450932965aadbdd81cb266e9b6d9fdba36057 /fs/nfsd/nfs4state.c
parentnfsd: keep a checksum of the first 256 bytes of request (diff)
downloadlinux-e56a316214d0f1e2446fa7a717309f9414564d9d.tar.xz
linux-e56a316214d0f1e2446fa7a717309f9414564d9d.zip
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.c2
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
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;