summaryrefslogtreecommitdiffstats
path: root/drivers/block/nbd.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 /drivers/block/nbd.c
parent0ec6937e8e1251db1f2f54259ba5c16dbdb2b943 (diff)
downloadlinux-645d40952c5a6cf916f9dc566cf07ae5348f64c7.tar.bz2
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 'drivers/block/nbd.c')
0 files changed, 0 insertions, 0 deletions