xfs/189: noattr2 invalid for CRC enabled filesystems
authorDave Chinner <dchinner@redhat.com>
Thu, 13 Mar 2014 03:58:16 +0000 (14:58 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 13 Mar 2014 03:58:16 +0000 (14:58 +1100)
commit97a665b5fc3487e86443e507244cc5fb1a08550c
treef5288b4c72daff295bc46c34f76a88f590c34f5b
parent763b46f3be5acc00bc6291f5cde649551a3bd3c6
xfs/189: noattr2 invalid for CRC enabled filesystems

Version 5 filesystems always have attr2 format enabled, and it
cannot be turned off via the noattr2 mount option. As such, attempts
to mount with noattr2 will be rejected and this causes cascading
failures within the test.

Hence detect if we've created a CRC enabled filesystem, and if this
is the case _notrun the test.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/attr
tests/xfs/189