Revert "NFSD: Mark filecache "down" if init fails"
This reverts commit 504cb79c21
.
This commit is contained in:
parent
f19c17b06d
commit
6407d85670
1 changed files with 1 additions and 3 deletions
|
@ -717,7 +717,7 @@ nfsd_file_cache_init(void)
|
|||
|
||||
ret = rhltable_init(&nfsd_file_rhltable, &nfsd_file_rhash_params);
|
||||
if (ret)
|
||||
goto out;
|
||||
return ret;
|
||||
|
||||
ret = -ENOMEM;
|
||||
nfsd_filecache_wq = alloc_workqueue("nfsd_filecache", 0, 0);
|
||||
|
@ -769,8 +769,6 @@ nfsd_file_cache_init(void)
|
|||
|
||||
INIT_DELAYED_WORK(&nfsd_filecache_laundrette, nfsd_file_gc_worker);
|
||||
out:
|
||||
if (ret)
|
||||
clear_bit(NFSD_FILE_CACHE_UP, &nfsd_file_flags);
|
||||
return ret;
|
||||
out_notifier:
|
||||
lease_unregister_notifier(&nfsd_file_lease_notifier);
|
||||
|
|
Loading…
Add table
Reference in a new issue