Linux XFS filesystem development
 help / color / mirror / Atom feed
From: "Darrick J. Wong" <djwong@kernel.org>
To: Eric Sandeen <sandeen@redhat.com>
Cc: linux-xfs@vger.kernel.org
Subject: Re: [PATCH V2 0/14] xfs: remove unused arguments from many functions
Date: Mon, 14 Sep 2026 15:44:29 -0700	[thread overview]
Message-ID: <20260914224429.GA2705364@frogsfrogsfrogs> (raw)
In-Reply-To: <20260914223007.1587017-1-sandeen@redhat.com>

On Mon, Sep 14, 2026 at 05:28:46PM -0500, Eric Sandeen wrote:
> V2: Sorry, that was stale already. This is against for-next in
>     https://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git :(
> 
> 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)

Giant Cognitive Computer?  Never heard of this model, is it any good?

> Total diffstat:

The whole series looks fine to me, assuming that the build robots don't
cough up errors & fstests doesn't explode.  For the series,

Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>

--D

> $ 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(-)
> 
> 
> 

  parent reply	other threads:[~2026-09-14 22:44 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-14 22:28 [PATCH V2 0/14] xfs: remove unused arguments from many functions Eric Sandeen
2026-09-14 22:28 ` [PATCH V2 01/14] xfs: remove unused args argument from xfs_attr_node_lookup() Eric Sandeen
2026-09-14 22:28 ` [PATCH V2 02/14] xfs: remove unused rsvd argument from xfs_bmap_add_attrfork() Eric Sandeen
2026-09-14 22:28 ` [PATCH V2 03/14] xfs: remove unused mp and ops arguments from xfbtree_rec_bytes() Eric Sandeen
2026-09-14 22:28 ` [PATCH V2 04/14] xfs: remove unused mp argument from xfs_exchmaps_check_forks() Eric Sandeen
2026-09-14 22:28 ` [PATCH V2 05/14] xfs: remove unused mp argument from xfs_inobt_rec_check_count() Eric Sandeen
2026-09-14 22:28 ` [PATCH V2 06/14] xfs: remove unused mp argument from xfs_parent_finish() Eric Sandeen
2026-09-14 22:28 ` [PATCH V2 07/14] xfs: remove unused tp argument from xfs_rmap_update_hook() Eric Sandeen
2026-09-14 22:28 ` [PATCH V2 08/14] xfs: remove unused mp argument from xfs_rtrefcount_broot_space_calc() Eric Sandeen
2026-09-14 22:28 ` [PATCH V2 09/14] xfs: remove unused mp argument from xfs_rtrefcount_broot_space() Eric Sandeen
2026-09-14 22:28 ` [PATCH V2 10/14] xfs: remove unused mp argument from xfs_rtrmap_broot_space_calc() Eric Sandeen
2026-09-14 22:28 ` [PATCH V2 11/14] xfs: remove unused mp argument from xfs_calc_default_atomic_ioend_reservation() Eric Sandeen
2026-09-14 22:28 ` [PATCH V2 12/14] xfs: remove unused mp argument from xfs_verify_dablk() Eric Sandeen
2026-09-14 22:28 ` [PATCH V2 13/14] xfs: remove unused mp argument from xfs_verify_fileoff() Eric Sandeen
2026-09-14 22:29 ` [PATCH V2 14/14] xfs: remove unused mp argument from xfs_verify_fileext() Eric Sandeen
2026-09-14 22:44 ` Darrick J. Wong [this message]
2026-09-15  6:34 ` [PATCH V2 0/14] xfs: remove unused arguments from many functions Christoph Hellwig
2026-09-16 13:16 ` Carlos Maiolino
2026-09-17 11:05 ` Carlos Maiolino

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260914224429.GA2705364@frogsfrogsfrogs \
    --to=djwong@kernel.org \
    --cc=linux-xfs@vger.kernel.org \
    --cc=sandeen@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox