overlay: deduplicate code in overlay mount helpers
authorAmir Goldstein <amir73il@gmail.com>
Thu, 28 Sep 2017 11:55:10 +0000 (14:55 +0300)
committerEryu Guan <eguan@redhat.com>
Tue, 10 Oct 2017 07:44:18 +0000 (15:44 +0800)
commitca5b89eb90fb2aaa55971e4ec26cd2345aae5508
tree7fe7047c645a8c555cd2dcc3f32b99f1004165ab
parent766e711f84662e233f2c4c5b8752fc1f8f121764
overlay: deduplicate code in overlay mount helpers

factor out helpers _overlay_base_mount() and _overlay_base_umount()
to reduce code duplication.

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