diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2008-04-17 14:38:59 (GMT) |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-04-17 14:38:59 (GMT) |
commit | 216c34b2b8a3687afed4d269acec140c8baf23fe (patch) | |
tree | f87ae5912c2635000c0c53d719a537f87e0a0877 /fs/ext4 | |
parent | e8546d0615542684ca02ba03edebec1a503beb6b (diff) | |
download | linux-fsl-qoriq-216c34b2b8a3687afed4d269acec140c8baf23fe.tar.xz |
ext4: 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: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
-rw-r--r-- | fs/ext4/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 9c0a344..01d1639 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -1388,7 +1388,7 @@ static int ext4_setup_super(struct super_block *sb, struct ext4_super_block *es, * 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); |