diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfsd/nfssvc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfssvc.c b/fs/nfsd/nfssvc.c index 39ced4a52c5f..e2c43464f237 100644 --- a/fs/nfsd/nfssvc.c +++ b/fs/nfsd/nfssvc.c | |||
@@ -224,7 +224,6 @@ static int nfsd_startup(unsigned short port, int nrservs) | |||
224 | ret = nfs4_state_start(); | 224 | ret = nfs4_state_start(); |
225 | if (ret) | 225 | if (ret) |
226 | goto out_lockd; | 226 | goto out_lockd; |
227 | nfsd_reset_versions(); | ||
228 | nfsd_up = true; | 227 | nfsd_up = true; |
229 | return 0; | 228 | return 0; |
230 | out_lockd: | 229 | out_lockd: |
@@ -329,6 +328,7 @@ int nfsd_create_serv(void) | |||
329 | nfsd_max_blksize >= 8*1024*2) | 328 | nfsd_max_blksize >= 8*1024*2) |
330 | nfsd_max_blksize /= 2; | 329 | nfsd_max_blksize /= 2; |
331 | } | 330 | } |
331 | nfsd_reset_versions(); | ||
332 | 332 | ||
333 | nfsd_serv = svc_create_pooled(&nfsd_program, nfsd_max_blksize, | 333 | nfsd_serv = svc_create_pooled(&nfsd_program, nfsd_max_blksize, |
334 | nfsd_last_thread, nfsd, THIS_MODULE); | 334 | nfsd_last_thread, nfsd, THIS_MODULE); |