summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorNeilBrown <neilb@cse.unsw.edu.au>2005-06-23 22:03:26 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-24 00:06:31 -0700
commit76a3550ec50ed86885a10a767ebaebb7c9104721 (patch)
tree0961d1eb0a61378852cf90f203dba09a22ac012d /fs
parent7b190fecfa33d72bcf74c9473134c2ad14ae9545 (diff)
downloadlinux-3.10-76a3550ec50ed86885a10a767ebaebb7c9104721.tar.gz
linux-3.10-76a3550ec50ed86885a10a767ebaebb7c9104721.tar.bz2
linux-3.10-76a3550ec50ed86885a10a767ebaebb7c9104721.zip
[PATCH] knfsd: nfsd4: rename nfs4_state_init
Somewhat gratuitous rename to simplify following patch. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/nfsd/nfs4state.c6
-rw-r--r--fs/nfsd/nfssvc.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 0f6119714c8..e00b3472851 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -3185,7 +3185,7 @@ nfs4_check_open_reclaim(clientid_t *clid)
*/
static void
-__nfs4_state_init(void)
+__nfs4_state_start(void)
{
int i;
time_t grace_time;
@@ -3235,7 +3235,7 @@ __nfs4_state_init(void)
}
int
-nfs4_state_init(void)
+nfs4_state_start(void)
{
int status;
@@ -3244,7 +3244,7 @@ nfs4_state_init(void)
status = nfsd4_init_slabs();
if (status)
return status;
- __nfs4_state_init();
+ __nfs4_state_start();
nfs4_init = 1;
return 0;
}
diff --git a/fs/nfsd/nfssvc.c b/fs/nfsd/nfssvc.c
index 904df604e86..07b9a065e9d 100644
--- a/fs/nfsd/nfssvc.c
+++ b/fs/nfsd/nfssvc.c
@@ -95,7 +95,7 @@ nfsd_svc(unsigned short port, int nrservs)
error = nfsd_racache_init(2*nrservs);
if (error<0)
goto out;
- error = nfs4_state_init();
+ error = nfs4_state_start();
if (error<0)
goto out;
if (!nfsd_serv) {