]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
xfs: use xfs_csn_t for xlog_cil_push_now() push_seq parameter
authorJinliang Zheng <alexjlzheng@tencent.com>
Thu, 2 Jul 2026 11:56:11 +0000 (19:56 +0800)
committerCarlos Maiolino <cem@kernel.org>
Wed, 8 Jul 2026 12:54:05 +0000 (14:54 +0200)
The push_seq argument to xlog_cil_push_now() carries a CIL checkpoint
sequence number, not a log sequence number (LSN).

Change the parameter type from xfs_lsn_t to xfs_csn_t to correctly
reflect its semantics and match the surrounding types. Both types are
int64_t under the hood, so this is a type-annotation fix with no
behavioural change.

Signed-off-by: Jinliang Zheng <alexjlzheng@tencent.com>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_log_cil.c

index edc368938f3054e3770c79f8e79be32b0e45d3b8..639f875a8fb25ab8327c97df1c51d82e22c1a1de 100644 (file)
@@ -1710,7 +1710,7 @@ xlog_cil_push_background(
 static void
 xlog_cil_push_now(
        struct xlog     *log,
-       xfs_lsn_t       push_seq,
+       xfs_csn_t       push_seq,
        bool            async)
 {
        struct xfs_cil  *cil = log->l_cilp;