]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blobdiff - libxfs/xfs_trans_inode.c
xfs: convert to ctime accessor functions
[thirdparty/xfsprogs-dev.git] / libxfs / xfs_trans_inode.c
index c4f81e5d12a231641b600fac6d37479555f93a2e..ca8e823762c9182a75debe257580a7a8303d6fa3 100644 (file)
@@ -64,7 +64,7 @@ xfs_trans_ichgtime(
        if (flags & XFS_ICHGTIME_MOD)
                inode->i_mtime = tv;
        if (flags & XFS_ICHGTIME_CHG)
-               inode->i_ctime = tv;
+               inode_set_ctime_to_ts(inode, tv);
        if (flags & XFS_ICHGTIME_CREATE)
                ip->i_crtime = tv;
 }