浏览代码

nfsd4: init_session should be declared static

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Fengguang Wu 13 年之前
父节点
当前提交
135ae8270d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fs/nfsd/nfs4state.c

+ 1 - 1
fs/nfsd/nfs4state.c

@@ -947,7 +947,7 @@ static struct nfsd4_session *alloc_session(struct nfsd4_channel_attrs *fchan)
 	return new;
 }
 
-void init_session(struct svc_rqst *rqstp, struct nfsd4_session *new, struct nfs4_client *clp, struct nfsd4_create_session *cses)
+static void init_session(struct svc_rqst *rqstp, struct nfsd4_session *new, struct nfs4_client *clp, struct nfsd4_create_session *cses)
 {
 	int idx;