[PATCH 1/5] xfs: remove unused xlog_assign_tail_lsn declarations
From: Zizhi Wo
Date: Fri Sep 04 2026 - 02:32:42 EST
From: Zizhi Wo <wozizhi@xxxxxxxxxx>
Commit 0dcd5a10d987 ("xfs: l_last_sync_lsn is really AIL state") moved log
tail tracking entirely into the AIL and removed the implementations of
xlog_assign_tail_lsn() and xlog_assign_tail_lsn_locked(). The prototypes
for these two functions were left behind in xfs_log.h and no longer refer
to anything.
Remove the dangling declarations.
Signed-off-by: Zizhi Wo <wozizhi@xxxxxxxxxx>
---
fs/xfs/xfs_log.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/fs/xfs/xfs_log.h b/fs/xfs/xfs_log.h
index ca66429bf6c9..f715695e8fcb 100644
--- a/fs/xfs/xfs_log.h
+++ b/fs/xfs/xfs_log.h
@@ -105,8 +105,6 @@ int xfs_log_mount(struct xfs_mount *mp,
int num_bblocks);
int xfs_log_mount_finish(struct xfs_mount *mp);
void xfs_log_mount_cancel(struct xfs_mount *);
-xfs_lsn_t xlog_assign_tail_lsn(struct xfs_mount *mp);
-xfs_lsn_t xlog_assign_tail_lsn_locked(struct xfs_mount *mp);
void xfs_log_space_wake(struct xfs_mount *mp);
int xfs_log_reserve(struct xfs_mount *mp, int length, int count,
struct xlog_ticket **ticket, bool permanent);
--
2.52.0