Linux XFS filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/14] xfs: remove unused arguments from many functions
@ 2026-09-14 20:46 Eric Sandeen
  2026-09-14 20:46 ` [PATCH 01/14] xfs: remove unused args argument from xfs_attr_node_lookup() Eric Sandeen
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: Eric Sandeen @ 2026-09-14 20:46 UTC (permalink / raw)
  To: linux-xfs

Seems it's cleanup season lately on the list, so figured I'd play
too.

This removes unused arguments (mostly mp) from a bunch of functions.

I did a quick check of the xfsprogs port, and it should be fine.
(Left out xfs_rmapbt_maxrecs changes for that reason; all the
.maxrecs functions in xfs_db need to match.)

Assisted-by: gcc version 15.3.1 20260722 (Red Hat 15.3.1-1) (GCC)

Total diffstat:

$ git diff 654ae5d73c05.. | diffstat
 libxfs/xfs_attr.c             |   14 ++++++--------
 libxfs/xfs_bmap.c             |    5 ++---
 libxfs/xfs_bmap.h             |    2 +-
 libxfs/xfs_btree_mem.c        |    6 ++----
 libxfs/xfs_exchmaps.c         |    1 -
 libxfs/xfs_exchmaps.h         |    3 +--
 libxfs/xfs_ialloc.c           |    2 +-
 libxfs/xfs_ialloc_btree.c     |    1 -
 libxfs/xfs_ialloc_btree.h     |    5 ++---
 libxfs/xfs_metadir.c          |    2 +-
 libxfs/xfs_parent.h           |    1 -
 libxfs/xfs_rmap.c             |   13 ++++++-------
 libxfs/xfs_rtrefcount_btree.c |    8 ++++----
 libxfs/xfs_rtrefcount_btree.h |    5 ++---
 libxfs/xfs_rtrmap_btree.c     |    6 +++---
 libxfs/xfs_rtrmap_btree.h     |    3 +--
 libxfs/xfs_trans_resv.c       |    7 +++----
 libxfs/xfs_types.c            |    7 ++-----
 libxfs/xfs_types.h            |    7 +++----
 scrub/bmap.c                  |    9 ++++-----
 scrub/bmap_repair.c           |    4 ++--
 scrub/inode_repair.c          |    6 +++---
 scrub/orphanage.c             |    2 +-
 scrub/quota.c                 |    2 +-
 scrub/quota_repair.c          |    4 ++--
 scrub/rtrefcount_repair.c     |    3 +--
 scrub/rtrmap_repair.c         |    2 +-
 xfs_bmap_item.c               |    2 +-
 xfs_exchmaps_item.c           |    4 ++--
 xfs_exchrange.c               |    2 +-
 xfs_inode.c                   |   20 ++++++++++----------
 xfs_rmap_item.c               |    2 +-
 xfs_super.c                   |    2 +-
 xfs_symlink.c                 |    4 ++--
 34 files changed, 73 insertions(+), 93 deletions(-)


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2026-09-14 20:52 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-14 20:46 [PATCH 0/14] xfs: remove unused arguments from many functions Eric Sandeen
2026-09-14 20:46 ` [PATCH 01/14] xfs: remove unused args argument from xfs_attr_node_lookup() Eric Sandeen
2026-09-14 20:46 ` [PATCH 02/14] xfs: remove unused rsvd argument from xfs_bmap_add_attrfork() Eric Sandeen
2026-09-14 20:46 ` [PATCH 03/14] xfs: remove unused mp and ops arguments from xfbtree_rec_bytes() Eric Sandeen
2026-09-14 20:46 ` [PATCH 04/14] xfs: remove unused mp argument from xfs_exchmaps_check_forks() Eric Sandeen
2026-09-14 20:46 ` [PATCH 05/14] xfs: remove unused mp argument from xfs_inobt_rec_check_count() Eric Sandeen
2026-09-14 20:46 ` [PATCH 06/14] xfs: remove unused mp argument from xfs_parent_finish() Eric Sandeen
2026-09-14 20:46 ` [PATCH 07/14] xfs: remove unused tp argument from xfs_rmap_update_hook() Eric Sandeen
2026-09-14 20:46 ` [PATCH 08/14] xfs: remove unused mp argument from xfs_rtrefcount_broot_space_calc() Eric Sandeen
2026-09-14 20:46 ` [PATCH 09/14] xfs: remove unused mp argument from xfs_rtrefcount_broot_space() Eric Sandeen
2026-09-14 20:46 ` [PATCH 10/14] xfs: remove unused mp argument from xfs_rtrmap_broot_space_calc() Eric Sandeen
2026-09-14 20:46 ` [PATCH 11/14] xfs: remove unused mp argument from xfs_calc_default_atomic_ioend_reservation() Eric Sandeen
2026-09-14 20:46 ` [PATCH 12/14] xfs: remove unused mp argument from xfs_verify_dablk() Eric Sandeen
2026-09-14 20:46 ` [PATCH 13/14] xfs: remove unused mp argument from xfs_verify_fileoff() Eric Sandeen
2026-09-14 20:46 ` [PATCH 14/14] xfs: remove unused mp argument from xfs_verify_fileext() Eric Sandeen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox