+1
−4
+0
−9
Loading
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>