aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfssvc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd/nfssvc.c')
-rw-r--r--fs/nfsd/nfssvc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/nfsd/nfssvc.c b/fs/nfsd/nfssvc.c
index 5d473d8f0630..784f94fbebf3 100644
--- a/fs/nfsd/nfssvc.c
+++ b/fs/nfsd/nfssvc.c
@@ -195,7 +195,7 @@ void nfsd_reset_versions(void)
195 } 195 }
196} 196}
197 197
198static int nfsd_create_serv(void) 198int nfsd_create_serv(void)
199{ 199{
200 int err = 0; 200 int err = 0;
201 lock_kernel(); 201 lock_kernel();
@@ -210,8 +210,6 @@ static int nfsd_create_serv(void)
210 nfsd_last_thread); 210 nfsd_last_thread);
211 if (nfsd_serv == NULL) 211 if (nfsd_serv == NULL)
212 err = -ENOMEM; 212 err = -ENOMEM;
213 else
214 nfsd_serv->sv_nrthreads++;
215 unlock_kernel(); 213 unlock_kernel();
216 do_gettimeofday(&nfssvc_boot); /* record boot time */ 214 do_gettimeofday(&nfssvc_boot); /* record boot time */
217 return err; 215 return err;