Skip to content

btrfs-progs: check/lowmem: fix false alerts about verity items

Qu Wenruo linux-btrfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs-progs: check/lowmem: recognize verity item keyscheck/mode-lowmem.c+3 -00 replies
2/2btrfs-progs: fsck-tests: add a test case for verity itemstests/fsck-tests/072-verity-items/fsverity.img.xz tests/fsck-tests/072-verity-items/test.sh+15 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] btrfs-progs: check/lowmem: fix false alerts about verity items

Leo reported and fixed a bug in original mode where false alerts were triggered about verity items.

Unfortunately we have a similar problem in lowmem mode too.

Fix the lowmem mode false alert and add a test case to prevent similar problems in the future.

Qu Wenruo (2):
btrfs-progs: check/lowmem: recognize verity item keys
btrfs-progs: fsck-tests: add a test case for verity items

 check/mode-lowmem.c                              |   3 +++
 .../fsck-tests/072-verity-items/fsverity.img.xz  | Bin 0 -> 2364 bytes
 tests/fsck-tests/072-verity-items/test.sh        |  15 +++++++++++++++
 3 files changed, 18 insertions(+)
 create mode 100644 tests/fsck-tests/072-verity-items/fsverity.img.xz
 create mode 100755 tests/fsck-tests/072-verity-items/test.sh

--
2.53.0