[Devel] [PATCH RH7 1/2] fs/overlay: set flag FS_VIRTUALIZED
Pavel Tikhomirov
ptikhomirov at virtuozzo.com
Thu May 19 08:32:00 PDT 2016
these is temporary decision to make docker in CT work with overlayfs
storage driver, it can be unsafe to give access to fs-overlay module
from container.
*need to modprobe overlay module on host
https://jira.sw.ru/browse/PSBM-47280
Signed-off-by: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
---
fs/overlayfs/super.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c
index 7e0388b..c20cfe9 100644
--- a/fs/overlayfs/super.c
+++ b/fs/overlayfs/super.c
@@ -1129,6 +1129,7 @@ static struct file_system_type ovl_fs_type = {
.name = "overlay",
.mount = ovl_mount,
.kill_sb = kill_anon_super,
+ .fs_flags = FS_VIRTUALIZED,
};
MODULE_ALIAS_FS("overlay");
--
2.5.5
More information about the Devel
mailing list