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:
committed by
Trond Myklebust
parent
ce1a8e6796
commit
6b59a75460
@@ -2152,11 +2152,11 @@ out:
|
|||||||
#ifdef CONFIG_PROC_FS
|
#ifdef CONFIG_PROC_FS
|
||||||
rpc_proc_unregister("nfs");
|
rpc_proc_unregister("nfs");
|
||||||
#endif
|
#endif
|
||||||
nfs_destroy_writepagecache();
|
|
||||||
#ifdef CONFIG_NFS_DIRECTIO
|
#ifdef CONFIG_NFS_DIRECTIO
|
||||||
out0:
|
|
||||||
nfs_destroy_directcache();
|
nfs_destroy_directcache();
|
||||||
|
out0:
|
||||||
#endif
|
#endif
|
||||||
|
nfs_destroy_writepagecache();
|
||||||
out1:
|
out1:
|
||||||
nfs_destroy_readpagecache();
|
nfs_destroy_readpagecache();
|
||||||
out2:
|
out2:
|
||||||
|
Reference in New Issue
Block a user