aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Slusarz <marcin.slusarz@gmail.com>2008-04-28 05:16:06 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-28 11:58:44 -0400
commite7f23ebdef879226817ce94ae6e298afc8cd093d (patch)
treed6bb2a40aa0da3f5868556cf9de4b3665458e687
parent3d61f75eefedf75914ab4453c67aaa2ee64bcf93 (diff)
ext3: convert byte order of constant instead of variable
Convert byte order of constant instead of variable which can be done at compile time (vs run time). Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: <linux-ext4@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--fs/ext3/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext3/super.c b/fs/ext3/super.c
index 883ff965d984..d7f242a93b7c 100644
--- a/fs/ext3/super.c
+++ b/fs/ext3/super.c
@@ -1219,7 +1219,7 @@ static int ext3_setup_super(struct super_block *sb, struct ext3_super_block *es,
1219 inconsistencies, to force a fsck at reboot. But for 1219 inconsistencies, to force a fsck at reboot. But for
1220 a plain journaled filesystem we can keep it set as 1220 a plain journaled filesystem we can keep it set as
1221 valid forever! :) */ 1221 valid forever! :) */
1222 es->s_state = cpu_to_le16(le16_to_cpu(es->s_state) & ~EXT3_VALID_FS); 1222 es->s_state &= cpu_to_le16(~EXT3_VALID_FS);
1223#endif 1223#endif
1224 if (!(__s16) le16_to_cpu(es->s_max_mnt_count)) 1224 if (!(__s16) le16_to_cpu(es->s_max_mnt_count))
1225 es->s_max_mnt_count = cpu_to_le16(EXT3_DFL_MAX_MNT_COUNT); 1225 es->s_max_mnt_count = cpu_to_le16(EXT3_DFL_MAX_MNT_COUNT);