[PATCH 2/5] xfs: remove unused xfs_iext_realloc declaration
From: Zizhi Wo
Date: Fri Sep 04 2026 - 03:16:40 EST
From: Zizhi Wo <wozizhi@xxxxxxxxxx>
Commit 4eea22f01bb4 ("[XFS] 929045 567344 ...") removed the
xfs_iext_realloc() implementation, replacing it with xfs_iext_add() and
xfs_iext_remove(), but the declaration in xfs_inode.h was left behind.
It has been a dead prototype ever since (2006).
Remove the stale declaration.
Assisted-by: Claude-Code:GLM-5.2
Signed-off-by: Zizhi Wo <wozizhi@xxxxxxxxxx>
---
fs/xfs/xfs_inode.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h
index 34c1038ebfcd..1602027cd0aa 100644
--- a/fs/xfs/xfs_inode.h
+++ b/fs/xfs/xfs_inode.h
@@ -585,7 +585,6 @@ uint xfs_ilock_attr_map_shared(struct xfs_inode *);
int xfs_ifree(struct xfs_trans *, struct xfs_inode *);
int xfs_itruncate_extents_flags(struct xfs_trans **,
struct xfs_inode *, int, xfs_fsize_t, int);
-void xfs_iext_realloc(xfs_inode_t *, int, int);
int xfs_log_force_inode(struct xfs_inode *ip);
void xfs_iunpin_wait(xfs_inode_t *);
--
2.52.0