]> 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)
commit7b557fa361cc5a1302167a35dc7f9f5ee96bd1f6
treead2a08507ae4761e06affd685873a8e444367388
parent83b5aeeeed31f2ab14e44d39ae06ce00a73d2d42
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