[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1401823007-3475-1-git-send-email-fabf@skynet.be>
Date: Tue, 3 Jun 2014 21:16:47 +0200
From: Fabian Frederick <fabf@...net.be>
To: linux-kernel@...r.kernel.org
Cc: Fabian Frederick <fabf@...net.be>, "Theodore Ts'o" <tytso@....edu>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: [PATCH 1/1] fs/ext4/super.c: use UINT_MAX instead of ~0U
Use kernel.h definition
Cc: "Theodore Ts'o" <tytso@....edu>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Signed-off-by: Fabian Frederick <fabf@...net.be>
---
fs/ext4/super.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 6f9e6fa..441f65f 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -3573,9 +3573,9 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)
(test_opt(sb, POSIX_ACL) ? MS_POSIXACL : 0);
if (le32_to_cpu(es->s_rev_level) == EXT4_GOOD_OLD_REV &&
- (EXT4_HAS_COMPAT_FEATURE(sb, ~0U) ||
- EXT4_HAS_RO_COMPAT_FEATURE(sb, ~0U) ||
- EXT4_HAS_INCOMPAT_FEATURE(sb, ~0U)))
+ (EXT4_HAS_COMPAT_FEATURE(sb, UINT_MAX) ||
+ EXT4_HAS_RO_COMPAT_FEATURE(sb, UINT_MAX) ||
+ EXT4_HAS_INCOMPAT_FEATURE(sb, UINT_MAX)))
ext4_msg(sb, KERN_WARNING,
"feature flags set on rev 0 fs, "
"running e2fsck is recommended");
--
1.8.4.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists