]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/conf.c
Remounts bind mounts if read-only flag is provided
authorAbin Shahab <ashahab@altiscale.com>
Wed, 12 Nov 2014 00:06:52 +0000 (00:06 +0000)
committerStéphane Graber <stgraber@ubuntu.com>
Wed, 26 Nov 2014 15:33:54 +0000 (10:33 -0500)
commit7c5b6e7c3524031c3e9e203a9ab3beea7efa7a41
treea721ae876813ef350e6ffaa24c1766fe0a928261
parentfb26e957f1c381c00826e6811e6fc981409bdc0c
Remounts bind mounts if read-only flag is provided

Bind mounts do not honor filesystem mount options. This change will
remount filesystems that are bind mounted if there are changes to
filesystem mount options, specifically if the mount is readonly.

Signed-off-by: Abin Shahab <ashahab@altiscale.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/conf.c