diff options
author | Christoph Hellwig <hch@lst.de> | 2020-11-24 09:21:57 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-12-01 22:53:40 +0100 |
commit | 9499ffc7521742e3fea32f6ac6c1213b6fc4e914 (patch) | |
tree | ad2a08507ae4761e06affd685873a8e444367388 /block/genhd.c | |
parent | block: switch disk_part_iter_* to use a struct block_device (diff) | |
download | linux-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