mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs/235: fix logic errors when checking rmap usage after failures
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
committed by
Eryu Guan
parent
f5187c47d1
commit
8ed5571d59
+2
-2
@@ -80,8 +80,8 @@ echo "+ mount image"
|
||||
_scratch_mount
|
||||
|
||||
echo "+ copy more"
|
||||
$XFS_IO_PROG -f -c "pwrite -S 0x63 0 $((blksz * 64))" -c "fsync" ${SCRATCH_MNT}/file4 >> $seqres.full
|
||||
test -s ${SCRATCH_MNT}/file4 || _fail "should not be able to copy with busted rmap btree"
|
||||
$XFS_IO_PROG -f -c "pwrite -S 0x63 0 $((blksz * 64))" -c "fsync" ${SCRATCH_MNT}/file4 >> $seqres.full 2>&1
|
||||
test -s ${SCRATCH_MNT}/file4 && _fail "should not be able to copy with busted rmap btree"
|
||||
umount ${SCRATCH_MNT}
|
||||
|
||||
echo "+ repair fs"
|
||||
|
||||
@@ -6,7 +6,6 @@ QA output created by 235
|
||||
+ corrupt image
|
||||
+ mount image
|
||||
+ copy more
|
||||
fsync: Structure needs cleaning
|
||||
+ repair fs
|
||||
+ mount image (2)
|
||||
+ chattr -R -i
|
||||
|
||||
Reference in New Issue
Block a user