[PATCH] xfs/005: filter _scratch_mount output and fix golden output to match it
Dave Chinner
david at fromorbit.com
Thu May 22 18:34:49 CDT 2014
On Fri, May 23, 2014 at 12:17:09AM +0800, Eryu Guan wrote:
> Failure message of _scratch_mount is something like:
>
> mount: mount /dev/sda5 on /mnt/scratch failed: Structure needs cleaning
>
> not
>
> mount: Structure needs cleaning
Evidence to the contrary:
# MKFS_OPTIONS="-b size=1024 -m crc=1" ./check xfs/005
FSTYP -- xfs (debug)
PLATFORM -- Linux/x86_64 test1 3.15.0-rc5-dgc+
MKFS_OPTIONS -- -f -b size=1024 -m crc=1 /dev/vdb
MOUNT_OPTIONS -- /dev/vdb /mnt/scratch
xfs/005 0s ... 0s
Ran: xfs/005
Passed all 1 tests
# mount /dev/vdb /mnt/scratch
mount: Structure needs cleaning
# mount -V
mount from util-linux 2.20.1 (with libblkid and selinux support)
#
So xfs/005 is correct for a relatively recent mount binary.
What version of mount are you using?
Cheers,
Dave.
--
Dave Chinner
david at fromorbit.com
More information about the xfs
mailing list