]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: implement atime updates in xfs_trans_ichgtime
authorDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:22:35 +0000 (11:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:36:56 +0000 (11:36 -0700)
commit3d1dfb6df9b7b9ffc95499b9ddd92d949e5a60d2
treefacd51c83bb98cbad3d49ed4c5e6355536e48692
parentba4b39fe4c011078469dcd28f51447d75852d21c
xfs: implement atime updates in xfs_trans_ichgtime

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>
fs/xfs/libxfs/xfs_shared.h
fs/xfs/libxfs/xfs_trans_inode.c