diff options
author | Dave Chinner <dchinner@redhat.com> | 2015-08-19 10:31:41 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-08-19 10:31:41 +1000 |
commit | ac383de20d468a75e7023caf06dcf6606cd85220 (patch) | |
tree | 6fb069e74db222401cdb2f318213d03afdcd7c0f /lib/halfmd4.c | |
parent | bbf155add09e1f0179eca89e0999cf28d335ca0a (diff) | |
download | op-kernel-dev-ac383de20d468a75e7023caf06dcf6606cd85220.zip op-kernel-dev-ac383de20d468a75e7023caf06dcf6606cd85220.tar.gz |
xfs: growfs not aware of sb_meta_uuid
Adding this simple change to xfstests:common/rc::_scratch_mkfs_xfs:
+ if [ $mkfs_status -eq 0 ]; then
+ xfs_admin -U generate $SCRATCH_DEV > /dev/null
+ fi
triggers all sorts of errors in xfstests. xfs/104 is an example,
where growfs fails with a UUID mismatch corruption detected by
xfs_agf_write_verify() when trying to write the first new AG
headers.
Fix this problem by making sure we copy the sb_meta_uuid into new
metadata written by growfs.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'lib/halfmd4.c')
0 files changed, 0 insertions, 0 deletions