Blame SOURCES/xfsprogs-5.13.0-xfs-rename-struct-xfs_legacy_ictimestamp.patch

5d5cbe
From 59301887102cc0415c8350a5e9562fe4beb083b6 Mon Sep 17 00:00:00 2001
5d5cbe
From: Christoph Hellwig <hch@lst.de>
5d5cbe
Date: Wed, 30 Jun 2021 18:38:58 -0400
5d5cbe
Subject: [PATCH] xfs: rename struct xfs_legacy_ictimestamp
5d5cbe
5d5cbe
Source kernel commit: 732de7dbdbd30df40a6d260a8da6fc5262039439
5d5cbe
5d5cbe
Rename struct xfs_legacy_ictimestamp to struct xfs_log_legacy_timestamp
5d5cbe
as it is a type used for logging timestamps with no relationship to the
5d5cbe
in-core inode.
5d5cbe
5d5cbe
Signed-off-by: Christoph Hellwig <hch@lst.de>
5d5cbe
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
5d5cbe
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
5d5cbe
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
5d5cbe
---
5d5cbe
5d5cbe
diff --git a/libxfs/xfs_log_format.h b/libxfs/xfs_log_format.h
5d5cbe
index 85ac52c..bc26894 100644
5d5cbe
--- a/libxfs/xfs_log_format.h
5d5cbe
+++ b/libxfs/xfs_log_format.h
5d5cbe
@@ -371,7 +371,7 @@ static inline int xfs_ilog_fdata(int w)
5d5cbe
 typedef uint64_t xfs_log_timestamp_t;
5d5cbe
 
5d5cbe
 /* Legacy timestamp encoding format. */
5d5cbe
-struct xfs_legacy_ictimestamp {
5d5cbe
+struct xfs_log_legacy_timestamp {
5d5cbe
 	int32_t		t_sec;		/* timestamp seconds */
5d5cbe
 	int32_t		t_nsec;		/* timestamp nanoseconds */
5d5cbe
 };
5d5cbe
diff --git a/logprint/log_misc.c b/logprint/log_misc.c
5d5cbe
index f4fd7a8..4889e65 100644
5d5cbe
--- a/logprint/log_misc.c
5d5cbe
+++ b/logprint/log_misc.c
5d5cbe
@@ -745,9 +745,9 @@ time64_t
5d5cbe
 xlog_extract_dinode_ts(
5d5cbe
 	const xfs_log_timestamp_t	its)
5d5cbe
 {
5d5cbe
-	struct xfs_legacy_ictimestamp	*lits;
5d5cbe
+	struct xfs_log_legacy_timestamp	*lits;
5d5cbe
 
5d5cbe
-	lits = (struct xfs_legacy_ictimestamp *)&its;
5d5cbe
+	lits = (struct xfs_log_legacy_timestamp *)&its;
5d5cbe
 	return (time64_t)lits->t_sec;
5d5cbe
 }
5d5cbe