mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
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>
This commit is contained in:
parent
3d61f75eef
commit
e7f23ebdef
1 changed files with 1 additions and 1 deletions
|
@ -1219,7 +1219,7 @@ static int ext3_setup_super(struct super_block *sb, struct ext3_super_block *es,
|
|||
inconsistencies, to force a fsck at reboot. But for
|
||||
a plain journaled filesystem we can keep it set as
|
||||
valid forever! :) */
|
||||
es->s_state = cpu_to_le16(le16_to_cpu(es->s_state) & ~EXT3_VALID_FS);
|
||||
es->s_state &= cpu_to_le16(~EXT3_VALID_FS);
|
||||
#endif
|
||||
if (!(__s16) le16_to_cpu(es->s_max_mnt_count))
|
||||
es->s_max_mnt_count = cpu_to_le16(EXT3_DFL_MAX_MNT_COUNT);
|
||||
|
|
Loading…
Reference in a new issue