xfs/291: use xfs_repair -f when repairing a fs image
authorEric Sandeen <sandeen@redhat.com>
Wed, 13 Aug 2014 01:00:46 +0000 (11:00 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 13 Aug 2014 01:00:46 +0000 (11:00 +1000)
commitddd55d55a7dca55e8a8475d926131515a389feab
tree4b2e286188c1c1421ac31d7668e4e42a837b794f
parentd8cee80c84ed80746c21d2f83bd45cfa32c14765
xfs/291: use xfs_repair -f when repairing a fs image

test xfs/291 creates an xfs_metadump image and runs repair on it.
Technically, this is supposed to require "-f" to specify that
the target of the repair is a file; this allows buffered IO fallback
in the case where the image sector size is smaller than the device
sector size.  And in fact if we create the image on a hard 4k device,
the test will fail when repair is unable to operate on the image.

So add that -f!

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/xfs/291