linux/fs/squashfs
Christoph Hellwig be9a7b3e15 squashfs: 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>
Acked-by: Phillip Lougher <phillip@squashfs.org.uk>
Link: https://lore.kernel.org/r/20211018101130.1838532-24-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-10-18 14:43:23 -06:00
..
block.c squashfs: use bvec_virt 2021-08-16 10:50:32 -06:00
cache.c
decompressor.c
decompressor.h
decompressor_multi.c
decompressor_multi_percpu.c Merge branch 'akpm' (patches from Andrew) 2020-06-02 12:21:36 -07:00
decompressor_single.c
dir.c
export.c squashfs: fix inode lookup sanity checks 2021-03-25 09:22:55 -07:00
file.c squashfs: fix divide error in calculate_skip() 2021-05-14 19:41:32 -07:00
file_cache.c
file_direct.c
fragment.c
id.c squashfs: fix xattr id and id lookup sanity checks 2021-03-25 09:22:55 -07:00
inode.c
Kconfig
lz4_wrapper.c squashfs: use bvec_virt 2021-08-16 10:50:32 -06:00
lzo_wrapper.c squashfs: use bvec_virt 2021-08-16 10:50:32 -06:00
Makefile
namei.c
page_actor.c
page_actor.h
squashfs.h
squashfs_fs.h squashfs: fix inode lookup sanity checks 2021-03-25 09:22:55 -07:00
squashfs_fs_i.h
squashfs_fs_sb.h squashfs: add option to panic on errors 2021-06-29 10:53:46 -07:00
super.c squashfs: use bdev_nr_bytes instead of open coding it 2021-10-18 14:43:23 -06:00
symlink.c
xattr.c
xattr.h squashfs: add more sanity checks in id lookup 2021-02-09 17:26:44 -08:00
xattr_id.c squashfs: fix xattr id and id lookup sanity checks 2021-03-25 09:22:55 -07:00
xz_wrapper.c squashfs: use bvec_virt 2021-08-16 10:50:32 -06:00
zlib_wrapper.c squashfs: use bvec_virt 2021-08-16 10:50:32 -06:00
zstd_wrapper.c squashfs: use bvec_virt 2021-08-16 10:50:32 -06:00