projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d61f75
)
ext3: convert byte order of constant instead of variable
author
Marcin Slusarz
<
[email protected]
>
Mon, 28 Apr 2008 09:16:06 +0000
(
02:16
-0700)
committer
Linus Torvalds
<
[email protected]
>
Mon, 28 Apr 2008 15:58:44 +0000
(08:58 -0700)
Convert byte order of constant instead of variable which can be done at
compile time (vs run time).
Signed-off-by: Marcin Slusarz <
[email protected]
>
Cc: <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/ext3/super.c
patch
|
blob
|
history
diff --git
a/fs/ext3/super.c
b/fs/ext3/super.c
index 883ff965d9844206b1049c9279e12cf9239b9b85..d7f242a93b7cf4aca9a0ab0939c5d281554022ae 100644
(file)
--- 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,
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);