[PATCH 0/2] Deal with incorrect checksums

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
1.8.4.25.g05e4ae6

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux