jfs: use sb_bdev_nr_blocks
authorChristoph Hellwig <hch@lst.de>
Mon, 18 Oct 2021 10:11:27 +0000 (12:11 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 20:43:23 +0000 (14:43 -0600)
commitdd0c0bdf97a44c2e2b5541e9febde0643a9d0dbf
treed42c1c625809ca850bd9100def0985e6dcb653e3
parent5513b241b2ef903b36c2ff74976618885fc5a318
jfs: use sb_bdev_nr_blocks

Use the sb_bdev_nr_blocks helper instead of open coding it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Link: https://lore.kernel.org/r/20211018101130.1838532-28-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/jfs/resize.c
fs/jfs/super.c