]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit23becc9721f1f09a2c9131e3fa212f5a1d8da1e5
treead2a08507ae4761e06affd685873a8e444367388
parentb670faef1b6f7d3a6d876b59120ef7ac6052244a
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