From 0f8186598ccb0c5e8666b6efe7178c69e73d81b6 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Thu, 29 Nov 2012 14:58:29 -0500 Subject: [PATCH] tune2fs: fix a compile-time bug if quota is not enabled Commit 44a2cca35e introduced a compile-time failure if --enable-quota is not passed to the configure script. Signed-off-by: "Theodore Ts'o" --- misc/tune2fs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/misc/tune2fs.c b/misc/tune2fs.c index ef90f5c0..84fe4cea 100644 --- a/misc/tune2fs.c +++ b/misc/tune2fs.c @@ -141,10 +141,10 @@ static __u32 ok_features[3] = { EXT4_FEATURE_RO_COMPAT_DIR_NLINK| EXT4_FEATURE_RO_COMPAT_EXTRA_ISIZE| EXT4_FEATURE_RO_COMPAT_GDT_CSUM | - EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER | #ifdef CONFIG_QUOTA - EXT4_FEATURE_RO_COMPAT_QUOTA + EXT4_FEATURE_RO_COMPAT_QUOTA | #endif + EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER }; static __u32 clear_ok_features[3] = { @@ -161,10 +161,10 @@ static __u32 clear_ok_features[3] = { EXT4_FEATURE_RO_COMPAT_HUGE_FILE| EXT4_FEATURE_RO_COMPAT_DIR_NLINK| EXT4_FEATURE_RO_COMPAT_EXTRA_ISIZE| - EXT4_FEATURE_RO_COMPAT_GDT_CSUM | #ifdef CONFIG_QUOTA - EXT4_FEATURE_RO_COMPAT_QUOTA + EXT4_FEATURE_RO_COMPAT_QUOTA | #endif + EXT4_FEATURE_RO_COMPAT_GDT_CSUM }; /* -- 2.11.0