Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77911
b: refs/heads/master
c: 3dbd0ed
h: refs/heads/master
i:
  77909: 79a2f25
  77907: 0cd637c
  77903: 3affc94
v: v3
  • Loading branch information
Aneesh Kumar K.V authored and Theodore Ts'o committed Jan 29, 2008
1 parent 68290d1 commit c115517
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c9de560ded61faa5b754137b7753da252391c55a
refs/heads/master: 3dbd0ede4d5320bd4c3cb914fec0595135b6d9a1
7 changes: 7 additions & 0 deletions trunk/fs/ext4/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,8 @@ static int ext4_show_options(struct seq_file *seq, struct vfsmount *vfs)
seq_puts(seq, ",nobh");
if (!test_opt(sb, EXTENTS))
seq_puts(seq, ",noextents");
if (!test_opt(sb, MBALLOC))
seq_puts(seq, ",nomballoc");
if (test_opt(sb, I_VERSION))
seq_puts(seq, ",i_version");

Expand Down Expand Up @@ -1903,6 +1905,11 @@ static int ext4_fill_super (struct super_block *sb, void *data, int silent)
* User -o noextents to turn it off
*/
set_opt(sbi->s_mount_opt, EXTENTS);
/*
* turn on mballoc feature by default in ext4 filesystem
* User -o nomballoc to turn it off
*/
set_opt(sbi->s_mount_opt, MBALLOC);

if (!parse_options ((char *) data, sb, &journal_inum, &journal_devnum,
NULL, 0))
Expand Down

0 comments on commit c115517

Please sign in to comment.