nfsd4: init_session should be declared static
authorFengguang Wu <fengguang.wu@intel.com>
Sat, 10 Nov 2012 12:20:25 +0000 (07:20 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 14 Nov 2012 16:23:00 +0000 (11:23 -0500)
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c

index 37b19f7..7de9ba0 100644 (file)
@@ -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;