diff options
author | Christoph Hellwig <hch@lst.de> | 2021-04-21 22:48:27 +0200 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-04-23 03:29:25 +0200 |
commit | 732de7dbdbd30df40a6d260a8da6fc5262039439 (patch) | |
tree | 88802739c2deae9ccc5227775ca6503fc9e1d5dc /fs/xfs/xfs_inode_item_recover.c | |
parent | xfs: rename xfs_ictimestamp_t (diff) | |
download | linux-732de7dbdbd30df40a6d260a8da6fc5262039439.tar.xz linux-732de7dbdbd30df40a6d260a8da6fc5262039439.zip |
xfs: rename struct xfs_legacy_ictimestamp
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>
Diffstat (limited to 'fs/xfs/xfs_inode_item_recover.c')
-rw-r--r-- | fs/xfs/xfs_inode_item_recover.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_inode_item_recover.c b/fs/xfs/xfs_inode_item_recover.c index 9b877de2ce5e..7b79518b6c20 100644 --- a/fs/xfs/xfs_inode_item_recover.c +++ b/fs/xfs/xfs_inode_item_recover.c @@ -128,14 +128,14 @@ xfs_log_dinode_to_disk_ts( const xfs_log_timestamp_t its) { struct xfs_legacy_timestamp *lts; - struct xfs_legacy_ictimestamp *lits; + struct xfs_log_legacy_timestamp *lits; xfs_timestamp_t ts; if (xfs_log_dinode_has_bigtime(from)) return cpu_to_be64(its); lts = (struct xfs_legacy_timestamp *)&ts; - lits = (struct xfs_legacy_ictimestamp *)&its; + lits = (struct xfs_log_legacy_timestamp *)&its; lts->t_sec = cpu_to_be32(lits->t_sec); lts->t_nsec = cpu_to_be32(lits->t_nsec); |