overlay: use default overlay mount options _overlay_mount_dirs()
authorAmir Goldstein <amir73il@gmail.com>
Wed, 27 Sep 2017 07:04:10 +0000 (10:04 +0300)
committerEryu Guan <eguan@redhat.com>
Tue, 10 Oct 2017 07:44:18 +0000 (15:44 +0800)
commit510ea2920102872287159273c34b4d9d6cbd6103
tree8218a5650438b920c3e4d8dddb08ec616eeb9e00
parent8cbd341fb41d88a3b4fba16ca424b33744148fbe
overlay: use default overlay mount options _overlay_mount_dirs()

Tests that use _overlay_mount_dirs() should also use the
default overlay mount options.
Move mount options from overlay_mount() into _overlay_mount_dirs()
and use helper common_dev_mount_opts() to get options.

OVERLAY_MOUNT_OPTIONS is assigned to MOUNT_OPTIONS, so
there is no need to use OVERLAY_MOUNT_OPTIONS directly.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
common/rc