]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs: rename struct xfs_legacy_ictimestamp
authorChristoph Hellwig <hch@lst.de>
Wed, 30 Jun 2021 22:38:58 +0000 (18:38 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Wed, 30 Jun 2021 22:38:58 +0000 (18:38 -0400)
Source kernel commit: 732de7dbdbd30df40a6d260a8da6fc5262039439

Rename struct xfs_legacy_ictimestamp to struct xfs_log_legacy_timestamp
as it is a type used for logging timestamps with no relationship to the
in-core inode.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_log_format.h
logprint/log_misc.c

index 5900772d678a90893045a69fe8888824c3ef0641..3e15ea29fb8de6c29c5a1a723b88209270d548de 100644 (file)
@@ -371,7 +371,7 @@ static inline int xfs_ilog_fdata(int w)
 typedef uint64_t xfs_log_timestamp_t;
 
 /* Legacy timestamp encoding format. */
-struct xfs_legacy_ictimestamp {
+struct xfs_log_legacy_timestamp {
        int32_t         t_sec;          /* timestamp seconds */
        int32_t         t_nsec;         /* timestamp nanoseconds */
 };
index ce34d486bf8259116a7c9dc98047a7a8f8372dce..35e926a3baece3dfd27a2ff032a9eb722d15184f 100644 (file)
@@ -745,9 +745,9 @@ time64_t
 xlog_extract_dinode_ts(
        const xfs_log_timestamp_t       its)
 {
-       struct xfs_legacy_ictimestamp   *lits;
+       struct xfs_log_legacy_timestamp *lits;
 
-       lits = (struct xfs_legacy_ictimestamp *)&its;
+       lits = (struct xfs_log_legacy_timestamp *)&its;
        return (time64_t)lits->t_sec;
 }