]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common: use _scratch_mount helper in _require_relatime()
authorEryu Guan <eguan@redhat.com>
Mon, 10 Nov 2014 07:06:23 +0000 (18:06 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 10 Nov 2014 07:06:23 +0000 (18:06 +1100)
commit1bc9c1a06eb51cc8278dc4c2a24af9a00a20f017
tree82a3dbf7e5cd9fa536d418d858fadfc2bd6f323e
parentf72abf5f8fce1482c5284a343d37f14050f29696
common: use _scratch_mount helper in _require_relatime()

Change the way how _require_relatime() mount $SCRATCH_DEV, use
_scratch_mount helper so $SCRATCH_DEV is mounted with selinux context,
to avoid "same superblock, different selinux context" failure.

Signed-off-by: Eryu Guan <eguan@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/rc