[PATCH 0/8] Some random cleanups to mballoc
From: Kemeng Shi
Date: Sat Nov 25 2023 - 03:13:02 EST
This series contains some random cleanups to mballoc. No function change
is intended except patch 8 may fix a potential memleak if non-used
preallocation spaces of inode could be greater than UNIT_MAX.
More details can be found in respective patches. Thanks!
Kemeng Shi (8):
ext4: remove unused return value of __mb_check_buddy
ext4: remove unused parameter group in ext4_mb_choose_next_group_*()
ext4: remove unneeded return value of ext4_mb_release_context
ext4: remove unused ext4_allocation_context::ac_groups_considered
ext4: remove unused return value of ext4_mb_release
ext4: remove unused return value of ext4_mb_release_inode_pa
ext4: remove unused return value of ext4_mb_release_group_pa
ext4: remove unnecessary parameter "needed" in
ext4_discard_preallocations
fs/ext4/ext4.h | 4 ++--
fs/ext4/extents.c | 10 +++++-----
fs/ext4/file.c | 2 +-
fs/ext4/indirect.c | 2 +-
fs/ext4/inode.c | 6 +++---
fs/ext4/ioctl.c | 2 +-
fs/ext4/mballoc.c | 46 ++++++++++++++++---------------------------
fs/ext4/mballoc.h | 1 -
fs/ext4/move_extent.c | 4 ++--
fs/ext4/super.c | 2 +-
10 files changed, 33 insertions(+), 46 deletions(-)
--
2.30.0