Deal with incorrect checksums
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | libblkid: Abort after an incorrect checksumlibblkid/ libblkid/ libblkid/ +4 more | +34 | 5 replies | |
| 2/2 | wipefs: Also wipe superblocks with bad checksumslibblkid/ libblkid/ misc-utils/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Deal with incorrect checksums
This is to avoid exposing backend devices that are supposed to be used through a stacked device.
Good magic / bad csum superblocks are still exposed to wipefs.
Prompted by the bcache patch.
Can be pulled from https://github.com/g2p/util-linux/commits
Gabriel de Perthuis (2):
libblkid: Abort after an incorrect checksum
wipefs: Also wipe superblocks with bad checksums
libblkid/src/blkid.h.in | 1 + libblkid/src/blkidP.h | 6 ++++++ libblkid/src/probe.c | 7 +++++++ libblkid/src/superblocks/lvm.c | 9 ++++++--- libblkid/src/superblocks/nilfs.c | 3 +-- libblkid/src/superblocks/silicon_raid.c | 7 ++++--- libblkid/src/superblocks/superblocks.c | 9 +++++++++ libblkid/src/superblocks/via_raid.c | 4 ++-- misc-utils/wipefs.c | 3 ++- 9 files changed, 38 insertions(+), 11 deletions(-)
Signature · 1 line
1.8.4.25.g05e4ae6