xfsqa: fix size specification for scratch mkfs
authorDave Chinner <david@fromorbit.com>
Sat, 6 Mar 2010 00:24:38 +0000 (11:24 +1100)
committerDave Chinner <david@fromorbit.com>
Sat, 6 Mar 2010 00:24:38 +0000 (11:24 +1100)
commitb2de346746bbc822ebb0c30213f7fb767cfc0dc4
treef115458fece35de1f268bacad1a0b0f22294d182
parent56cc8b05d4c5281c2c91fb7c2e5f0d8279e50922
xfsqa: fix size specification for scratch mkfs

When making a specifically sized scratch filesystem, we need to
calculate the size rather than assigning the caclculation expression
to a variable and passing that into the _scratch_mkfs_sized
function. Currently sized filesystems are failing to be made and the
code is falling back to full sized filesystems so we are not testing
enospc issues correctly.

Signed-off-by: Dave Chinner <david@fromorbit.com>
077
204
common.rc