# 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