summaryrefslogtreecommitdiffstats
path: root/block/genhd.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-11-24 09:21:57 +0100
committerJens Axboe <axboe@kernel.dk>2020-12-01 22:53:40 +0100
commit9499ffc7521742e3fea32f6ac6c1213b6fc4e914 (patch)
treead2a08507ae4761e06affd685873a8e444367388 /block/genhd.c
parentblock: switch disk_part_iter_* to use a struct block_device (diff)
downloadlinux-9499ffc7521742e3fea32f6ac6c1213b6fc4e914.tar.xz
linux-9499ffc7521742e3fea32f6ac6c1213b6fc4e914.zip
f2fs: remove a few bd_part checks
bd_part is never NULL for a block device in use by a file system, so remove the checks. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions