xfs/005: sync superblock modification to disk before mount test
authorEric Sandeen <sandeen@redhat.com>
Mon, 29 Sep 2014 02:55:54 +0000 (12:55 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 29 Sep 2014 02:55:54 +0000 (12:55 +1000)
commit30adee0b35c7d453ef6f28ca92cb045125b29b55
tree7be945f4400d940ea4b900252cb6046a51749dee
parent5d0153d9fd0c1bf2e835a20ab3d866058a08d82a
xfs/005: sync superblock modification to disk before mount test

This test tries to directly corrupt the CRC field of the primary
superblock by using xfs_io pwrite, but never syncs it to disk,
so it's quite likely that the mount will not see the bad data.

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/005