mount-setup: introduce mount_points_setup
authorAlexander Kuleshov <kuleshovmail@gmail.com>
Tue, 2 Feb 2016 19:03:12 +0000 (01:03 +0600)
committerAlexander Kuleshov <kuleshovmail@gmail.com>
Tue, 2 Feb 2016 19:03:12 +0000 (01:03 +0600)
commit400fac060987d4d1c30a3bee19676edd5adf986c
treeb564346db6785631bca406c9e156769a1650559b
parentc5c41f1e57a620266ea08daffbf01e922e83c775
mount-setup: introduce mount_points_setup

The mount_setup_early() and mount_setup() contain almost the same
pieces of code which calls mount_one() for a certain mount point
from the mount_table. This patch introduces mount_points_setup()
helper to prevent code duplication.
src/core/mount-setup.c