default:
printk(KERN_ERR
"EXT4-fs: Unrecognized mount option \"%s\" "
-@@ -2501,6 +2534,18 @@ static int ext4_fill_super(struct super_
+@@ -2501,6 +2534,14 @@ static int ext4_fill_super(struct super_
set_opt(sbi->s_mount_opt, BARRIER);
/*
+ */
+ if (EXT4_HAS_INCOMPAT_FEATURE(sb, EXT4_FEATURE_INCOMPAT_EXTENTS))
+ set_opt(sbi->s_mount_opt, EXTENTS);
-+ else
-+ ext4_warning(sb,
-+ "extents feature not enabled on this filesystem, "
-+ "use tune2fs.");
+
+ /*
* enable delayed allocation by default
default:
ext4_msg(sb, KERN_ERR,
"Unrecognized mount option \"%s\" "
-@@ -2901,6 +2933,17 @@ static int ext4_fill_super(struct super_
+@@ -2901,6 +2933,14 @@ static int ext4_fill_super(struct super_
set_opt(sbi->s_mount_opt, BARRIER);
/*
+ */
+ if (EXT4_HAS_INCOMPAT_FEATURE(sb, EXT4_FEATURE_INCOMPAT_EXTENTS))
+ set_opt(sbi->s_mount_opt, EXTENTS);
-+ else
-+ ext4_warning(sb, "extents feature not enabled on this filesystem, "
-+ "use tune2fs.");
+
+ /*
* enable delayed allocation by default
+++ /dev/null
-Index: linux-stage/fs/ext4/super.c
-===================================================================
---- linux-stage.orig/fs/ext4/super.c
-+++ linux-stage/fs/ext4/super.c
-@@ -2564,10 +2564,6 @@ static int ext4_fill_super(struct super_
- */
- if (EXT4_HAS_INCOMPAT_FEATURE(sb, EXT4_FEATURE_INCOMPAT_EXTENTS))
- set_opt(sbi->s_mount_opt, EXTENTS);
-- else
-- ext4_warning(sb,
-- "extents feature not enabled on this filesystem, "
-- "use tune2fs.");
-
- /*
- * enable delayed allocation by default