filter: update xfs_repair filter for new sunit/swidth warning
authorDave Chinner <dchinner@redhat.com>
Mon, 8 Sep 2014 10:48:59 +0000 (20:48 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 8 Sep 2014 10:48:59 +0000 (20:48 +1000)
commitf007c2b465e331317e91b5125e8da04826e57c82
tree40662e015a63e8a95f10dd623b3cd0f47728ed6b
parentc941f156e93cfde79a11de422ccb78b4dbe513c6
filter: update xfs_repair filter for new sunit/swidth warning

New xfs_repair programs have a different sunit/swidth warning that
is triggering failures such as:

    -Note - stripe unit (0) and width (0) fields have been reset.
    -Please set with mount -o sunit=<value>,swidth=<value>
    +Note - stripe unit (0) and width (0) were copied from a backup superblock.
    +Please reset with mount -o sunit=<value>,swidth=<value> if necessary

Update the filter to catch both cases and output the old message so
tests pass again.

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