mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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>
This commit is contained in:
+1
-2
@@ -5,8 +5,7 @@ QA output created by 125
|
||||
+ check fs
|
||||
+ check xattr
|
||||
+ corrupt xattr
|
||||
+ mount image
|
||||
+ modify xattr
|
||||
+ mount image && modify xattr
|
||||
+ repair fs
|
||||
+ mount image (2)
|
||||
+ chattr -R -i
|
||||
|
||||
Reference in New Issue
Block a user