aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 eb7722ab771..e6784b3276b 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