]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: implement atime updates in xfs_trans_ichgtime
authorDarrick J. Wong <djwong@kernel.org>
Wed, 2 Oct 2024 01:10:42 +0000 (18:10 -0700)
committerAndrey Albershteyn <aalbersh@redhat.com>
Fri, 4 Oct 2024 10:42:07 +0000 (12:42 +0200)
commitf3c648be19efc50fbcbbaea2368d8dd55aebb193
tree1a6957a55485fcc25f0a3c440f3fc4c17570f27c
parent04fd15692ac8ffc066c0a8536a8926d75fed8f67
xfs: implement atime updates in xfs_trans_ichgtime

Source kernel commit: 3d1dfb6df9b7b9ffc95499b9ddd92d949e5a60d2

Enable xfs_trans_ichgtime to change the inode access time so that we can
use this function to set inode times when allocating inodes instead of
open-coding it.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_shared.h
libxfs/xfs_trans_inode.c