Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276649
b: refs/heads/master
c: 988f032
h: refs/heads/master
i:
  276647: 90b2014
v: v3
  • Loading branch information
Al Viro committed Dec 13, 2011
1 parent bceb21b commit 45b713d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 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: 5cc361e3b8241989d8240014dbbe6214c9292541
refs/heads/master: 988f032567eaba3c5896c5de05270b9ff71b2a9d
24 changes: 12 additions & 12 deletions trunk/fs/fuse/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1138,28 +1138,28 @@ static int __init fuse_fs_init(void)
{
int err;

err = register_filesystem(&fuse_fs_type);
if (err)
goto out;

err = register_fuseblk();
if (err)
goto out_unreg;

fuse_inode_cachep = kmem_cache_create("fuse_inode",
sizeof(struct fuse_inode),
0, SLAB_HWCACHE_ALIGN,
fuse_inode_init_once);
err = -ENOMEM;
if (!fuse_inode_cachep)
goto out_unreg2;
goto out;

err = register_fuseblk();
if (err)
goto out2;

err = register_filesystem(&fuse_fs_type);
if (err)
goto out3;

return 0;

out_unreg2:
out3:
unregister_fuseblk();
out_unreg:
unregister_filesystem(&fuse_fs_type);
out2:
kmem_cache_destroy(fuse_inode_cachep);
out:
return err;
}
Expand Down

0 comments on commit 45b713d

Please sign in to comment.