summaryrefslogtreecommitdiffstats
path: root/fs/squashfs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-10-18 12:11:22 +0200
committerJens Axboe <axboe@kernel.dk>2021-10-18 14:43:23 -0600
commit1d5dd3b9164c77816a679d39dbd28787d3f22a3a (patch)
treefc871a4509f8bbd92edb9d673f463e2505bc8201 /fs/squashfs
parent4646198519c9aaa1c307ec4750ac64e08507d936 (diff)
downloadlinux-1d5dd3b9164c77816a679d39dbd28787d3f22a3a.tar.gz
linux-1d5dd3b9164c77816a679d39dbd28787d3f22a3a.tar.bz2
linux-1d5dd3b9164c77816a679d39dbd28787d3f22a3a.zip
reiserfs: use bdev_nr_bytes instead of open coding it
Use the proper helper to read the block device size and remove two cargo culted checks that can't be false. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Kees Cook <keescook@chromium.org> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Link: https://lore.kernel.org/r/20211018101130.1838532-23-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/squashfs')
0 files changed, 0 insertions, 0 deletions