Skip to content
Snippets Groups Projects
Commit 645d4095 authored by Wang YanQing's avatar Wang YanQing Committed by Jens Axboe
Browse files

block: add verifier for cmdline partition

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@hisilicon.com> said:
Partition overlap was intentionally designed in this cmdline partition.
reference http://lists.infradead.org/pipermail/linux-mtd/2013-August/048092.html


"

Signed-off-by: default avatarWang YanQing <udknight@gmail.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 0ec6937e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment