瀏覽代碼

nfsd4: free_stid can be static

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Fengguang Wu 12 年之前
父節點
當前提交
e56a316214
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
 	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;
 	struct idr *stateids = &s->sc_client->cl_stateids;