mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs/288: shut up verifier error
Ignore the verifier errors when we fuzz hdr.count to zero. 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:
committed by
Eryu Guan
parent
8cd8fa12e1
commit
9200725300
+1
-1
@@ -62,7 +62,7 @@ _scratch_xfs_set_metadata_field "hdr.count" "0" \
|
||||
# verify current xfs_db write command can set hdr.count to 0. Old xfsprogs
|
||||
# can't do that on v5 filesystems.
|
||||
count=$(_scratch_xfs_get_metadata_field "hdr.count" \
|
||||
"inode $inum" "ablock 0")
|
||||
"inode $inum" "ablock 0" 2> /dev/null)
|
||||
if [ "$count" != "0" ]; then
|
||||
_notrun "xfs_db can't set attr hdr.count to 0"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user