From: Chuck Lever Date: Wed, 30 Nov 2005 23:08:19 +0000 (-0500) Subject: NFS: Fix error recovery code in fs/nfs/inode.c:__init_nfs() X-Git-Tag: v2.6.16-rc1~935^2~4^2~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6b59a75460eb9527145d7bd55068e5d32bee8a44;p=platform%2Fkernel%2Flinux-3.10.git 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 Signed-off-by: Trond Myklebust --- diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index 740d3cd..da58207 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c @@ -2152,11 +2152,11 @@ out: #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: