Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292357
b: refs/heads/master
c: 2226a28
h: refs/heads/master
i:
  292355: 7676855
v: v3
  • Loading branch information
Al Viro committed Mar 21, 2012
1 parent 82f092f commit cb112f3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 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: 01e0fe0b10d8673554525984947cc5de21492462
refs/heads/master: 2226a288fac462ebc98e40da007842f92a7e4799
16 changes: 8 additions & 8 deletions trunk/fs/9p/v9fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -594,21 +594,21 @@ static int __init init_v9fs(void)
int err;
pr_info("Installing v9fs 9p2000 file system support\n");
/* TODO: Setup list of registered trasnport modules */
err = register_filesystem(&v9fs_fs_type);
if (err < 0) {
pr_err("Failed to register filesystem\n");
return err;
}

err = v9fs_cache_register();
if (err < 0) {
pr_err("Failed to register v9fs for caching\n");
goto out_fs_unreg;
return err;
}

err = v9fs_sysfs_init();
if (err < 0) {
pr_err("Failed to register with sysfs\n");
goto out_cache;
}
err = register_filesystem(&v9fs_fs_type);
if (err < 0) {
pr_err("Failed to register filesystem\n");
goto out_sysfs_cleanup;
}

Expand All @@ -617,8 +617,8 @@ static int __init init_v9fs(void)
out_sysfs_cleanup:
v9fs_sysfs_cleanup();

out_fs_unreg:
unregister_filesystem(&v9fs_fs_type);
out_cache:
v9fs_cache_unregister();

return err;
}
Expand Down

0 comments on commit cb112f3

Please sign in to comment.