summaryrefslogtreecommitdiffstats
path: root/include/Makemodule.am
diff options
context:
space:
mode:
authorGoffredo Baroncelli2013-01-09 22:14:43 +0100
committerKarel Zak2013-01-10 11:26:48 +0100
commitd4a276491269b6502c15e0089fba6b616f5c5df8 (patch)
treecc5d2eff955bd82908334d260587e5bdf93d159c /include/Makemodule.am
parenthexdump: do not segfault when iterating over an empty format string (diff)
downloadkernel-qcow2-util-linux-d4a276491269b6502c15e0089fba6b616f5c5df8.tar.gz
kernel-qcow2-util-linux-d4a276491269b6502c15e0089fba6b616f5c5df8.tar.xz
kernel-qcow2-util-linux-d4a276491269b6502c15e0089fba6b616f5c5df8.zip
libblkid: add support for btrfs backup superblock
Btrfs has three superblock. The first one is placed at 64KB, the second one at 64MB, the third one at 256GB. If the first superblock is valid except that the "magic field" is zeroed, btrfs skips the check of the other superblocks. If the first superblock is fully invalid, btrfs checks for the other superblock. So zeroing the first superblock "magic field" at the beginning seems that the filesystem is wiped. But when the first superblock is overwritten (eg by another filesystem), then the other two superblock may be considered valid, and the filesystem may resurrect. This patch allow to find and wipe the other btrfs superblocks signature. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/Makemodule.am')
0 files changed, 0 insertions, 0 deletions