Re: [PATCH 1/2] libblkid: Abort after an incorrect checksum

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

 



> Log incorrect checksums and stop the superblock probing loop when
> one is encountered.
> This is to avoid exposing backend devices that are supposed
> to be used through a stacked device (like raid or bcache).

Sorry, but some of the changes you made when applying break the patch.
The intent is to stop the probing loop when a bad container is encountered;
the contents shouldn't be scanned.

That means returning an error from the sb-specific prober doesn't work,
and deferring to superblocks_probe was necessary.  I'll send a followup patch.

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