Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273137
b: refs/heads/master
c: d44651d
h: refs/heads/master
i:
  273135: 6685ef2
v: v3
  • Loading branch information
Fabrice Jouhaud authored and Theodore Ts'o committed Oct 8, 2011
1 parent 85c31e0 commit 1403231
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 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: 6ee3b2122431fc75015c6114d4749de76422452b
refs/heads/master: d44651d0f922b7aaeddd9fc04f2f5700a65983dd
16 changes: 6 additions & 10 deletions trunk/fs/ext4/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -3540,10 +3540,8 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
goto failed_mount;
}

#ifdef CONFIG_PROC_FS
if (ext4_proc_root)
sbi->s_proc = proc_mkdir(sb->s_id, ext4_proc_root);
#endif

bgl_lock_init(sbi->s_blockgroup_lock);

Expand Down Expand Up @@ -5070,13 +5068,11 @@ static int __init ext4_init_fs(void)
return err;
err = ext4_init_system_zone();
if (err)
goto out7;
goto out6;
ext4_kset = kset_create_and_add("ext4", NULL, fs_kobj);
if (!ext4_kset)
goto out6;
ext4_proc_root = proc_mkdir("fs/ext4", NULL);
if (!ext4_proc_root)
goto out5;
ext4_proc_root = proc_mkdir("fs/ext4", NULL);

err = ext4_init_feat_adverts();
if (err)
Expand Down Expand Up @@ -5112,12 +5108,12 @@ static int __init ext4_init_fs(void)
out3:
ext4_exit_feat_adverts();
out4:
remove_proc_entry("fs/ext4", NULL);
out5:
if (ext4_proc_root)
remove_proc_entry("fs/ext4", NULL);
kset_unregister(ext4_kset);
out6:
out5:
ext4_exit_system_zone();
out7:
out6:
ext4_exit_pageio();
return err;
}
Expand Down

0 comments on commit 1403231

Please sign in to comment.