xfs/129: fix post-metadump remounting idiocy
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 21 Jul 2016 23:47:07 +0000 (16:47 -0700)
committerEryu Guan <eguan@redhat.com>
Fri, 5 Aug 2016 02:32:10 +0000 (10:32 +0800)
commitb85dfac4ca9ec1b096ea95bba128dd72dbf006c5
treed70456d442c8a4f00edb3ef4cb5e14c74e9dcf14
parent2f8d7b2ff0282b9d8d4f8714a8fd0307fab09dc2
xfs/129: fix post-metadump remounting idiocy

Use the standard _scratch_mount to mount the filesystem from the
restored image, instead of trying to call mount directly. This is
needed in case we had custom mount options (like rtdev).

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/xfs/129