-
Christoph Hellwig authored
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>
9499ffc7