generic: check for reasonable inode creation time

If statx returns inode creation time (aka btime), check it to make
sure that the filesystem is setting a creation time that's
reasonably close to when it creates a file.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Darrick J. Wong
2019-02-11 18:17:39 -08:00
committed by Eryu Guan
parent 08174ee110
commit 26e4a81c78
3 changed files with 56 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
QA output created by 528
btime is in range