summaryrefslogtreecommitdiffstats
path: root/init/do_mounts_initrd.c
diff options
context:
space:
mode:
authorWang YanQing <udknight@gmail.com>2018-05-10 11:06:37 +0800
committerJens Axboe <axboe@kernel.dk>2018-06-05 09:20:53 -0600
commit645d40952c5a6cf916f9dc566cf07ae5348f64c7 (patch)
treec454af13ed45fd16b95d8de98d47f1b4f16b708e /init/do_mounts_initrd.c
parent0ec6937e8e1251db1f2f54259ba5c16dbdb2b943 (diff)
downloadblackbird-op-linux-645d40952c5a6cf916f9dc566cf07ae5348f64c7.tar.gz
blackbird-op-linux-645d40952c5a6cf916f9dc566cf07ae5348f64c7.zip
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: Wang YanQing <udknight@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'init/do_mounts_initrd.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud