X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=ldiskfs%2Fkernel_patches%2Fpatches%2Fext4-extents-mount-option-rhel5.patch;h=316fa469ac6d790a1fadfb451b34984766d1dbea;hb=1dd3f59981914a90cbeddedab5dfc91fa28764c6;hp=f83b26aaf45a337d46157040c7291ea8756c6f1d;hpb=79ec0a1df07733183f19d71813f99306b31f3636;p=fs%2Flustre-release.git diff --git a/ldiskfs/kernel_patches/patches/ext4-extents-mount-option-rhel5.patch b/ldiskfs/kernel_patches/patches/ext4-extents-mount-option-rhel5.patch index f83b26a..316fa46 100644 --- a/ldiskfs/kernel_patches/patches/ext4-extents-mount-option-rhel5.patch +++ b/ldiskfs/kernel_patches/patches/ext4-extents-mount-option-rhel5.patch @@ -149,7 +149,7 @@ diff -up linux-2.6.18-164/fs/ext4/super.c linux-2.6.18-164/fs/ext4/super.c 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); /* @@ -159,10 +159,6 @@ diff -up linux-2.6.18-164/fs/ext4/super.c linux-2.6.18-164/fs/ext4/super.c + */ + 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