aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2012-09-17 22:54:36 -0400
committerTheodore Ts'o <tytso@mit.edu>2012-09-17 22:54:36 -0400
commitbc0b75f77a944b482293972eb8fd5c88c576eb46 (patch)
treef8b9db8e74b3153fe350404c5ae979335c1e9c7d
parent5e7bbef19c8385895cb21c41a88bd937902e6316 (diff)
ext4: do not enable delalloc by default for ext2
Signed-off-by: Brian Foster <bfoster@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
-rw-r--r--fs/ext4/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index eb7722ab771c..e6784b3276be 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -3411,7 +3411,7 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
3411 * enable delayed allocation by default 3411 * enable delayed allocation by default
3412 * Use -o nodelalloc to turn it off 3412 * Use -o nodelalloc to turn it off
3413 */ 3413 */
3414 if (!IS_EXT3_SB(sb) && 3414 if (!IS_EXT3_SB(sb) && !IS_EXT2_SB(sb) &&
3415 ((def_mount_opts & EXT4_DEFM_NODELALLOC) == 0)) 3415 ((def_mount_opts & EXT4_DEFM_NODELALLOC) == 0))
3416 set_opt(sb, DELALLOC); 3416 set_opt(sb, DELALLOC);
3417 3417