Re: [PATCH v5] block: add verifier for cmdline partition

From: Jens Axboe
Date: Tue Jun 05 2018 - 11:21:32 EST


On 5/9/18 9:06 PM, Wang YanQing wrote:
> I meet strange filesystem corruption issue recently, the reason
> is there are overlaps partitions in cmdline partition argument.
>
> This patch add verifier for cmdline partition, then if there are
> overlaps partitions, cmdline_partition will log a warning. We don't
> treat overlaps partition as a error:
> "
> Caizhiyong <caizhiyong@xxxxxxxxxxxxx> said:
> Partition overlap was intentionally designed in this cmdline partition.
> reference http://lists.infradead.org/pipermail/linux-mtd/2013-August/048092.html
> "

Applied, thanks.

--
Jens Axboe