summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorFengguang Wu2012-11-10 13:20:25 +0100
committerJ. Bruce Fields2012-11-14 17:23:00 +0100
commit135ae8270d233067c8be426e2a59d0733ba74723 (patch)
treeb2d2cef3498864b11f622ff2692a98dfb5bec805 /fs/nfsd
parentnfsd: release the legacy reclaimable clients list in grace_done (diff)
downloadkernel-qcow2-linux-135ae8270d233067c8be426e2a59d0733ba74723.tar.gz
kernel-qcow2-linux-135ae8270d233067c8be426e2a59d0733ba74723.tar.xz
kernel-qcow2-linux-135ae8270d233067c8be426e2a59d0733ba74723.zip
nfsd4: init_session should be declared static
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfs4state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 37b19f7948ed..7de9ba00a718 100644
--- a/fs/nfsd/nfs4state.c
+++ b/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;