summaryrefslogtreecommitdiffstats
path: root/mm/secretmem.c
diff options
context:
space:
mode:
authorYe Bin <yebin10@huawei.com>2021-11-02 09:52:36 +0800
committerJens Axboe <axboe@kernel.dk>2021-11-02 10:50:27 -0600
commit69beb62ff0d1723a750eebe1c4d01da573d7cd19 (patch)
tree992618c94ab922dda47fee74432475885637c074 /mm/secretmem.c
parent940c264984fd1457918393c49674f6b39ee16506 (diff)
downloadlinux-69beb62ff0d1723a750eebe1c4d01da573d7cd19.tar.gz
linux-69beb62ff0d1723a750eebe1c4d01da573d7cd19.tar.bz2
linux-69beb62ff0d1723a750eebe1c4d01da573d7cd19.zip
nbd: Fix incorrect error handle when first_minor is illegal in nbd_dev_add
If first_minor is illegal will goto out_free_idr label, this will miss cleanup disk. Fixes: b1a811633f73 ("block: nbd: add sanity check for first_minor") Signed-off-by: Ye Bin <yebin10@huawei.com> Reviewed-by: Josef Bacik <josef@toxicpanda.com> Link: https://lore.kernel.org/r/20211102015237.2309763-4-yebin10@huawei.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'mm/secretmem.c')
0 files changed, 0 insertions, 0 deletions