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

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