f2fs: remove a few bd_part checks
authorChristoph Hellwig <hch@lst.de>
Tue, 24 Nov 2020 08:21:57 +0000 (09:21 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Dec 2020 21:53:40 +0000 (14:53 -0700)
commit9499ffc7521742e3fea32f6ac6c1213b6fc4e914
treead2a08507ae4761e06affd685873a8e444367388
parentad1eaa5344b293552b6ba43f5709c76a9aa14d17
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>
fs/f2fs/checkpoint.c
fs/f2fs/sysfs.c