[cache_dump] fix how needs_check flag is checked
This commit is contained in:
parent
eb3d181f95
commit
3cf0dba469
2
src/cache/superblock.rs
vendored
2
src/cache/superblock.rs
vendored
@ -98,7 +98,7 @@ fn unpack(data: &[u8]) -> IResult<&[u8], Superblock> {
|
|||||||
i,
|
i,
|
||||||
Superblock {
|
Superblock {
|
||||||
flags: SuperblockFlags {
|
flags: SuperblockFlags {
|
||||||
needs_check: (flags | 0x1) != 0,
|
needs_check: (flags & 0x1) != 0,
|
||||||
},
|
},
|
||||||
block,
|
block,
|
||||||
version,
|
version,
|
||||||
|
Loading…
Reference in New Issue
Block a user