Subject: ext4: convert byte order of constant instead of variable From: Marcin Slusarz Convert byte order of constant instead of variable which can be done at compile time (vs run time). Signed-off-by: Marcin Slusarz Cc: Signed-off-by: Andrew Morton Signed-off-by: Mingming Cao Signed-off-by: "Theodore Ts'o" --- fs/ext4/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.25-rc1/fs/ext4/super.c =================================================================== --- linux-2.6.25-rc1.orig/fs/ext4/super.c 2008-02-14 15:05:58.000000000 -0800 +++ linux-2.6.25-rc1/fs/ext4/super.c 2008-02-14 15:07:03.000000000 -0800 @@ -1388,7 +1388,7 @@ static int ext4_setup_super(struct super * a plain journaled filesystem we can keep it set as * valid forever! :) */ - es->s_state = cpu_to_le16(le16_to_cpu(es->s_state) & ~EXT4_VALID_FS); + es->s_state &= cpu_to_le16(~EXT4_VALID_FS); #endif if (!(__s16) le16_to_cpu(es->s_max_mnt_count)) es->s_max_mnt_count = cpu_to_le16(EXT4_DFL_MAX_MNT_COUNT);