OpenCloudOS-Kernel/fs/affs
Christoph Hellwig 589aa7bc40 affs: use bdev_nr_sectors 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: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20211018101130.1838532-12-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-10-18 14:43:22 -06:00
..
Changes remove obsolete references to powertweak 2013-11-27 20:34:32 -08:00
Kconfig docs: filesystems: fix renamed references 2020-04-20 15:45:22 -06:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
affs.h fs: make helpers idmap mount aware 2021-01-24 14:27:20 +01:00
amigaffs.c affs: fix basic permission bits to actually work 2020-08-31 12:20:31 +02:00
amigaffs.h fs: affs: Initialize filesystem timestamp ranges 2019-08-30 07:27:18 -07:00
bitmap.c Rename superblock flags (MS_xyz -> SB_xyz) 2017-11-27 13:05:09 -08:00
dir.c iversion: Rename make inode_cmp_iversion{+raw} to inode_eq_iversion{+raw} 2018-02-01 08:15:25 -05:00
file.c mm: require ->set_page_dirty to be explicitly wired up 2021-06-29 10:53:48 -07:00
inode.c fs: make helpers idmap mount aware 2021-01-24 14:27:20 +01:00
namei.c idmapped-mounts-v5.12 2021-02-23 13:39:45 -08:00
super.c affs: use bdev_nr_sectors instead of open coding it 2021-10-18 14:43:22 -06:00
symlink.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00