Files
apfstests/tests/xfs/099.out
T
Xiao Yang ded188b860 xfs: Fix the situation that mount operation rejects corrupted XFS
On upstream kernel, running some tests which corrupt XFS on purpose
got the mismatched output. e.g. running xfs/087:
------------------------------------------------
 + check fs
 + corrupt image
 + mount image
-+ modify files
-broken: 1
 + repair fs
 + mount image (2)
------------------------------------------------

It is reasonable for corrupted XFS to be caught and rejected by mount
or read/write operation.

Fixes: 0828657542 ("xfs: fix blocktrash fuzzers")
Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
2018-11-23 12:34:57 +08:00

14 lines
222 B
Plaintext

QA output created by 099
+ create scratch fs
+ mount fs image
+ make some files
+ check fs
+ check dir
+ corrupt dir
+ mount image && modify dir
+ repair fs
+ mount image (2)
+ chattr -R -i
+ modify dir (2)
+ check fs (2)