summaryrefslogtreecommitdiff
path: root/fs/ext2/balloc.c
diff options
context:
space:
mode:
authorChengguang Xu <cgxu519@mykernel.net>2019-11-04 14:40:32 +0300
committerJan Kara <jack@suse.cz>2019-11-06 18:25:12 +0300
commiteb9e47fc230aafc3ac1e5eeae6d0d8d5e108bbae (patch)
treee7ff628531849c3402e3045576de90fa8a8ae7e1 /fs/ext2/balloc.c
parentdae82c7fd0926840c832151f3258ba751f73d348 (diff)
downloadlinux-eb9e47fc230aafc3ac1e5eeae6d0d8d5e108bbae.tar.xz
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>
Diffstat (limited to 'fs/ext2/balloc.c')
0 files changed, 0 insertions, 0 deletions