]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: use xfs_trans_ichgtime to set times when allocating inode
authorDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:22:36 +0000 (11:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:36:56 +0000 (11:36 -0700)
commita7b12718cb90188bc1a062d6cbb9d9a3f790e20a
tree6d55fde6d8526617b855c9a2fbe37651e6e9aced
parent3d1dfb6df9b7b9ffc95499b9ddd92d949e5a60d2
xfs: use xfs_trans_ichgtime to set times when allocating inode

Use xfs_trans_ichgtime to set the inode times when allocating an inode,
instead of open-coding them here.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_inode.c