]> git.karo-electronics.de Git - linux-beck.git/commit
xfs: fix sb_meta_uuid usage
authorDave Chinner <dchinner@redhat.com>
Wed, 19 Aug 2015 00:31:18 +0000 (10:31 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 19 Aug 2015 00:31:18 +0000 (10:31 +1000)
commitbbf155add09e1f0179eca89e0999cf28d335ca0a
tree5e5b0d7f703d65a34d5cc1994e8c4e5b2ab209ac
parentc400ee3ed1b13d45adde68e12254dc6ab6977b59
xfs: fix sb_meta_uuid usage

After changing the UUID on a v5 filesystem, xfstests fails
immediately on a debug kernel with:

XFS: Assertion failed: uuid_equal(&ip->i_d.di_uuid, &mp->m_sb.sb_uuid), file: fs/xfs/xfs_inode.c, line: 799

This needs to check against the sb_meta_uuid, not the user visible
UUID that was changed.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_inode.c