From: Eric Sandeen <sandeen@redhat.com>
To: linux-xfs@vger.kernel.org
Cc: Eric Sandeen <sandeen@redhat.com>
Subject: [PATCH V2 04/14] xfs: remove unused mp argument from xfs_exchmaps_check_forks()
Date: Mon, 14 Sep 2026 17:28:50 -0500 [thread overview]
Message-ID: <20260914223007.1587017-5-sandeen@redhat.com> (raw)
In-Reply-To: <20260914223007.1587017-1-sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---
fs/xfs/libxfs/xfs_exchmaps.c | 1 -
fs/xfs/libxfs/xfs_exchmaps.h | 3 +--
fs/xfs/xfs_exchrange.c | 2 +-
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/fs/xfs/libxfs/xfs_exchmaps.c b/fs/xfs/libxfs/xfs_exchmaps.c
index 49eda8d0994d..05c2ec5478df 100644
--- a/fs/xfs/libxfs/xfs_exchmaps.c
+++ b/fs/xfs/libxfs/xfs_exchmaps.c
@@ -135,7 +135,6 @@ xmi_has_postop_work(const struct xfs_exchmaps_intent *xmi)
/* Check all mappings to make sure we can actually exchange them. */
int
xfs_exchmaps_check_forks(
- struct xfs_mount *mp,
const struct xfs_exchmaps_req *req)
{
struct xfs_ifork *ifp1, *ifp2;
diff --git a/fs/xfs/libxfs/xfs_exchmaps.h b/fs/xfs/libxfs/xfs_exchmaps.h
index fa822dff202a..055b8dbabd5b 100644
--- a/fs/xfs/libxfs/xfs_exchmaps.h
+++ b/fs/xfs/libxfs/xfs_exchmaps.h
@@ -115,8 +115,7 @@ void xfs_exchmaps_upgrade_extent_counts(struct xfs_trans *tp,
int xfs_exchmaps_finish_one(struct xfs_trans *tp,
struct xfs_exchmaps_intent *xmi);
-int xfs_exchmaps_check_forks(struct xfs_mount *mp,
- const struct xfs_exchmaps_req *req);
+int xfs_exchmaps_check_forks(const struct xfs_exchmaps_req *req);
void xfs_exchange_mappings(struct xfs_trans *tp,
const struct xfs_exchmaps_req *req);
diff --git a/fs/xfs/xfs_exchrange.c b/fs/xfs/xfs_exchrange.c
index c69ecd6a19de..2aa6a4687e67 100644
--- a/fs/xfs/xfs_exchrange.c
+++ b/fs/xfs/xfs_exchrange.c
@@ -238,7 +238,7 @@ xfs_exchrange_mappings(
trace_xfs_exchrange_before(ip2, 2);
trace_xfs_exchrange_before(ip1, 1);
- error = xfs_exchmaps_check_forks(mp, &req);
+ error = xfs_exchmaps_check_forks(&req);
if (error)
goto out_trans_cancel;
--
2.55.0
next prev parent reply other threads:[~2026-09-14 22:30 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 ` Eric Sandeen [this message]
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 ` [PATCH V2 0/14] xfs: remove unused arguments from many functions Darrick J. Wong
2026-09-15 6:34 ` 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=20260914223007.1587017-5-sandeen@redhat.com \
--to=sandeen@redhat.com \
--cc=linux-xfs@vger.kernel.org \
/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