]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common/rc: introduce _overlay_mount_dirs helper
authorEryu Guan <eguan@redhat.com>
Tue, 9 Aug 2016 07:28:47 +0000 (15:28 +0800)
committerEryu Guan <eguan@redhat.com>
Thu, 8 Sep 2016 05:54:43 +0000 (13:54 +0800)
commit3e3b49c61a5e55cf56913df5c3a8f8d9b6f98e2d
tree2388e5e403e398f2c6315dfd96c03cac03091960
parent115563d150bc61bc332945de9721ee75fd28138b
common/rc: introduce _overlay_mount_dirs helper

Introduce a new _overlay_mount_dirs() helper to do the actual
overlay mount operation and factor _overlay_scratch_mount and
_overlay_mount code to use a single implemention of
_overlay_mount_dirs(). Also convert all bare mount of overlay in
tests to use it.

Suggested-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
common/rc
tests/overlay/005
tests/overlay/010