diff options
author | Chuck Lever <cel@netapp.com> | 2005-11-30 18:08:19 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-01-06 14:58:48 -0500 |
commit | 6b59a75460eb9527145d7bd55068e5d32bee8a44 (patch) | |
tree | e813365a2bdc3605fbc6580d05189b8878185ef6 /fs | |
parent | ce1a8e6796150233f5098100f70217521dc7c08f (diff) |
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index 740d3cd40246..da58207b366b 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c | |||
@@ -2152,11 +2152,11 @@ out: | |||
2152 | #ifdef CONFIG_PROC_FS | 2152 | #ifdef CONFIG_PROC_FS |
2153 | rpc_proc_unregister("nfs"); | 2153 | rpc_proc_unregister("nfs"); |
2154 | #endif | 2154 | #endif |
2155 | nfs_destroy_writepagecache(); | ||
2156 | #ifdef CONFIG_NFS_DIRECTIO | 2155 | #ifdef CONFIG_NFS_DIRECTIO |
2157 | out0: | ||
2158 | nfs_destroy_directcache(); | 2156 | nfs_destroy_directcache(); |
2157 | out0: | ||
2159 | #endif | 2158 | #endif |
2159 | nfs_destroy_writepagecache(); | ||
2160 | out1: | 2160 | out1: |
2161 | nfs_destroy_readpagecache(); | 2161 | nfs_destroy_readpagecache(); |
2162 | out2: | 2162 | out2: |