nfsd4: free_stid can be static
authorFengguang Wu <fengguang.wu@intel.com>
Mon, 11 Feb 2013 21:21:42 +0000 (16:21 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 11 Feb 2013 21:22:50 +0000 (16:22 -0500)
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
fs/nfsd/nfs4state.c

index 60a2282..c1a6ddf 100644 (file)
@@ -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;