aboutsummaryrefslogtreecommitdiffstats
path: root/block/genhd.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-09-03 07:41:02 +0200
committerJens Axboe <axboe@kernel.dk>2020-09-25 08:18:58 -0600
commit57ba10592030be8c8b17184ca093db5e45cdbb2b (patch)
tree48e92075c7ad96130fc86bca05cfdb593e23c0d5 /block/genhd.c
parentdrbd: don't set ->bd_contains (diff)
downloadlinux-dev-57ba10592030be8c8b17184ca093db5e45cdbb2b.tar.xz
linux-dev-57ba10592030be8c8b17184ca093db5e45cdbb2b.zip
target/iblock: fix holder printing in iblock_show_configfs_dev_params
bd_contains is never NULL for an open block device. In addition ibd_bd is always set to a block device that was exclusively opened by the target code, so the holder is guranteed to be ib_dev as well. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions