OpenCloudOS-Kernel/fs/ext2
Chengguang Xu eb9e47fc23 ext2: introduce new helper ext2_group_last_block_no()
Introduce new helper ext2_group_last_block_no() to calculate
last block num for specific block group, we can replace open
coded logic by calling this common helper.

Link: https://lore.kernel.org/r/20191104114036.9893-1-cgxu519@mykernel.net
Signed-off-by: Chengguang Xu <cgxu519@mykernel.net>
Signed-off-by: Jan Kara <jack@suse.cz>
2019-11-06 16:25:12 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
acl.c ext2: cache NULL when both default_acl and acl are NULL 2018-09-03 11:05:03 +02:00
acl.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
balloc.c ext2: don't set *count in the case of failure in ext2_try_to_allocate() 2019-10-31 15:40:44 +01:00
dir.c ext2: use common file type conversion 2019-01-21 17:48:17 +01:00
ext2.h ext2: introduce new helper ext2_group_last_block_no() 2019-11-06 16:25:12 +01:00
file.c ext2: support statx syscall 2019-02-18 15:14:43 +01:00
ialloc.c ext2: add missing brelse() in ext2_new_inode() 2019-05-30 13:35:32 +02:00
inode.c ext2: check err when partial != NULL 2019-11-05 10:42:18 +01:00
ioctl.c ext2: return error when fail to allocating memory in ioctl 2019-10-24 09:24:40 +02:00
namei.c ext2: support statx syscall 2019-02-18 15:14:43 +01:00
super.c \n 2019-09-21 13:53:34 -07:00
symlink.c ext2: support statx syscall 2019-02-18 15:14:43 +01:00
xattr.c ext2: fix block range in ext2_data_block_valid() 2019-07-31 12:04:42 +02:00
xattr.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
xattr_security.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
xattr_trusted.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
xattr_user.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00