summaryrefslogtreecommitdiff
path: root/fs/cramfs/inode.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-10-18 13:11:12 +0300
committerJens Axboe <axboe@kernel.dk>2021-10-18 23:43:22 +0300
commitcda00eba022d6a0a60740989ac79fc6a258b2d7a (patch)
tree37834a23f736886c9e79a94c634cfd3928e432c9 /fs/cramfs/inode.c
parent589aa7bc40c4f823dd6094cef51f8cff60e26e95 (diff)
downloadlinux-cda00eba022d6a0a60740989ac79fc6a258b2d7a.tar.xz
btrfs: use bdev_nr_bytes instead of open coding it
Use the proper helper to read the block device size. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Kees Cook <keescook@chromium.org> Reviewed-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Acked-by: David Sterba <dsterba@suse.com> Link: https://lore.kernel.org/r/20211018101130.1838532-13-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/cramfs/inode.c')
0 files changed, 0 insertions, 0 deletions