mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +00:00
NFS: Fix error recovery code in fs/nfs/inode.c:__init_nfs()
Red Hat found a problem in the error recovery logic in __init_nfs. Signed-off-by: Chuck Lever <cel@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
ce1a8e6796
commit
6b59a75460
1 changed files with 2 additions and 2 deletions
|
@ -2152,11 +2152,11 @@ static int __init init_nfs_fs(void)
|
|||
#ifdef CONFIG_PROC_FS
|
||||
rpc_proc_unregister("nfs");
|
||||
#endif
|
||||
nfs_destroy_writepagecache();
|
||||
#ifdef CONFIG_NFS_DIRECTIO
|
||||
out0:
|
||||
nfs_destroy_directcache();
|
||||
out0:
|
||||
#endif
|
||||
nfs_destroy_writepagecache();
|
||||
out1:
|
||||
nfs_destroy_readpagecache();
|
||||
out2:
|
||||
|
|
Loading…
Reference in a new issue