Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206421
b: refs/heads/master
c: df44f9f
h: refs/heads/master
i:
  206419: 2092f6a
v: v3
  • Loading branch information
David Howells authored and Linus Torvalds committed Aug 7, 2010
1 parent 76020a6 commit 07ff5ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5df6b8e65ad0f2eaee202ff002ac00d1ac605315
refs/heads/master: df44f9f4f9b5d362b5a2d1c8444fe7e6d4c42653
9 changes: 6 additions & 3 deletions trunk/fs/afs/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ static int __init afs_init(void)

/* initialise the callback update process */
ret = afs_callback_update_init();
if (ret < 0)
goto error_callback_update_init;

/* create the RxRPC transport */
ret = afs_open_socket();
Expand All @@ -127,15 +129,16 @@ static int __init afs_init(void)
error_fs:
afs_close_socket();
error_open_socket:
afs_callback_update_kill();
error_callback_update_init:
afs_vlocation_purge();
error_vl_update_init:
afs_cell_purge();
error_cell_init:
#ifdef CONFIG_AFS_FSCACHE
fscache_unregister_netfs(&afs_cache_netfs);
error_cache:
#endif
afs_callback_update_kill();
afs_vlocation_purge();
afs_cell_purge();
afs_proc_cleanup();
rcu_barrier();
printk(KERN_ERR "kAFS: failed to register: %d\n", ret);
Expand Down

0 comments on commit 07ff5ef

Please sign in to comment.