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 60a2282905e0c9c8f3df69af1ab3027a02509e94..c1a6ddf3a84a2e7563a1edd8edf0f952c3f6568a 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;