diff options
author | Len Brown <len.brown@intel.com> | 2010-08-15 01:06:31 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-08-15 01:06:31 -0400 |
commit | 95ee46aa8698f2000647dfb362400fadbb5807cf (patch) | |
tree | e5a05c7297f997e191c73091934e42e3195c0e40 /fs/afs/main.c | |
parent | cfa806f059801dbe7e435745eb2e187c8bfe1e7f (diff) | |
parent | 92fa5bd9a946b6e7aab6764e7312e4e3d9bed295 (diff) |
Merge branch 'linus' into release
Conflicts:
drivers/acpi/debug.c
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'fs/afs/main.c')
-rw-r--r-- | fs/afs/main.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/fs/afs/main.c b/fs/afs/main.c index 66d54d348c55..cfd1cbe25b22 100644 --- a/fs/afs/main.c +++ b/fs/afs/main.c | |||
@@ -111,6 +111,8 @@ static int __init afs_init(void) | |||
111 | 111 | ||
112 | /* initialise the callback update process */ | 112 | /* initialise the callback update process */ |
113 | ret = afs_callback_update_init(); | 113 | ret = afs_callback_update_init(); |
114 | if (ret < 0) | ||
115 | goto error_callback_update_init; | ||
114 | 116 | ||
115 | /* create the RxRPC transport */ | 117 | /* create the RxRPC transport */ |
116 | ret = afs_open_socket(); | 118 | ret = afs_open_socket(); |
@@ -127,15 +129,16 @@ static int __init afs_init(void) | |||
127 | error_fs: | 129 | error_fs: |
128 | afs_close_socket(); | 130 | afs_close_socket(); |
129 | error_open_socket: | 131 | error_open_socket: |
132 | afs_callback_update_kill(); | ||
133 | error_callback_update_init: | ||
134 | afs_vlocation_purge(); | ||
130 | error_vl_update_init: | 135 | error_vl_update_init: |
136 | afs_cell_purge(); | ||
131 | error_cell_init: | 137 | error_cell_init: |
132 | #ifdef CONFIG_AFS_FSCACHE | 138 | #ifdef CONFIG_AFS_FSCACHE |
133 | fscache_unregister_netfs(&afs_cache_netfs); | 139 | fscache_unregister_netfs(&afs_cache_netfs); |
134 | error_cache: | 140 | error_cache: |
135 | #endif | 141 | #endif |
136 | afs_callback_update_kill(); | ||
137 | afs_vlocation_purge(); | ||
138 | afs_cell_purge(); | ||
139 | afs_proc_cleanup(); | 142 | afs_proc_cleanup(); |
140 | rcu_barrier(); | 143 | rcu_barrier(); |
141 | printk(KERN_ERR "kAFS: failed to register: %d\n", ret); | 144 | printk(KERN_ERR "kAFS: failed to register: %d\n", ret); |