xfs/126: make blocktrash work reliably on attrleaf blocks
[xfstests-dev.git] / tests / xfs / 126
index 4f9f8cf956de80bd55c54d5363ea86400bef7f07..d01338c9d2861f055fff7ab5a9d09ce94fc43e85 100755 (executable)
@@ -72,7 +72,7 @@ echo "+ corrupt xattr"
 loff=1
 while true; do
        _scratch_xfs_db -x -c "inode ${inode}" -c "ablock ${loff}" -c "stack" | grep -q 'file attr block is unmapped' && break
-       _scratch_xfs_db -x -c "inode ${inode}" -c "ablock ${loff}" -c "stack" -c "blocktrash -x 32 -y $((blksz * 8)) -z ${FUZZ_ARGS}" >> $seqres.full
+       _scratch_xfs_db -x -c "inode ${inode}" -c "ablock ${loff}" -c "stack" -c "blocktrash -o 4 -x 32 -y $((blksz * 8)) -z ${FUZZ_ARGS}" >> $seqres.full
        loff="$((loff + 1))"
 done