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