xfs: handle crtime more carefully in xfs_bulkstat_one_int
authorChristoph Hellwig <hch@lst.de>
Mon, 29 Mar 2021 18:11:37 +0000 (11:11 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 7 Apr 2021 21:37:02 +0000 (14:37 -0700)
commit582a73440bf5cafbb469025ce60e11cb401416e1
treeac78e29595313f81c290c675a165308784ce8bb3
parent4cb6f2e8c2c78c28941c56f49f2d9de44705b211
xfs: handle crtime more carefully in xfs_bulkstat_one_int

The crtime only exists for v5 inodes, so only copy it for those.

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>
fs/xfs/xfs_itable.c