From: Dave Chinner Date: Wed, 19 Aug 2015 00:31:41 +0000 (+1000) Subject: xfs: growfs not aware of sb_meta_uuid X-Git-Tag: omap-for-v4.3/fixes-rc1~79^2~2^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac383de20d468a75e7023caf06dcf6606cd85220;p=pandora-kernel.git 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 Reviewed-by: Eric Sandeen Signed-off-by: Dave Chinner --- Reading git-diff-tree failed