diff options
author | Christoph Hellwig <hch@lst.de> | 2021-03-24 11:00:43 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-03-25 16:59:58 -0700 |
commit | 06f1b39efa6825c89ce4739a8c80a5d905732937 (patch) | |
tree | f4d14bcf26b41ab7b1d97b60c37013feb9f8a0a8 /fs/xfs/libxfs/xfs_trans_inode.c | |
parent | 1c62bf6f0b7dd7aa2beec0d6908c169da2f7b961 (diff) |
xfs: move the di_crtime field to struct xfs_inoderemove-icdinode-5.13_2021-03-25
In preparation of removing the historic icinode struct, move the crtime
field into the containing xfs_inode structure.
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/libxfs/xfs_trans_inode.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_trans_inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_trans_inode.c b/fs/xfs/libxfs/xfs_trans_inode.c index 102920303454..78324e043e25 100644 --- a/fs/xfs/libxfs/xfs_trans_inode.c +++ b/fs/xfs/libxfs/xfs_trans_inode.c @@ -70,7 +70,7 @@ xfs_trans_ichgtime( if (flags & XFS_ICHGTIME_CHG) inode->i_ctime = tv; if (flags & XFS_ICHGTIME_CREATE) - ip->i_d.di_crtime = tv; + ip->i_crtime = tv; } /* |