summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-11-15 17:10:48 +0300
committerJens Axboe <axboe@kernel.dk>2022-11-17 01:19:56 +0300
commit7b5865831c1003122f737df5e16adaa583f1a595 (patch)
tree03bd01348e6c4cf32ce675ea24fbb84d2e877a2a /Kbuild
parentb9a785d2dc6567b2fd9fc60057a6a945a276927a (diff)
downloadlinux-7b5865831c1003122f737df5e16adaa583f1a595.tar.xz
dm: cleanup close_table_device
Take the list unlink and free into close_table_device so that no half torn down table_devices exist. Also remove the check for a NULL bdev as that can't happen - open_table_device never adds a table_device to the list that does not have a valid block_device. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Yu Kuai <yukuai3@huawei.com> Reviewed-by: Mike Snitzer <snitzer@kernel.org> Link: https://lore.kernel.org/r/20221115141054.1051801-5-yukuai1@huaweicloud.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions