Browse Source

nfsd4: free_stid can be static

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Fengguang Wu 12 năm trước cách đây
mục cha
commit
e56a316214
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      fs/nfsd/nfs4state.c

+ 1 - 1
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;