[Devel] [PATCH vz7] fuse: virtualize file system

Stanislav Kinsburskiy skinsbursky at odin.com
Tue Sep 22 06:28:06 PDT 2015


From: Stanislav Kinsburskiy <skinsbursky at parallels.com>

This is requred to allow to mount FUSE-based filesystems like SshFS.

https://bugs.openvz.org/browse/OVZ-6498

Signed-off-by: Stanislav Kinsburskiy <skinsbursky at parallels.com>
---
 fs/fuse/inode.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
index d29f9aa..4a1b46f 100644
--- a/fs/fuse/inode.c
+++ b/fs/fuse/inode.c
@@ -1278,7 +1278,7 @@ static void fuse_kill_sb_anon(struct super_block *sb)
 static struct file_system_type fuse_fs_type = {
 	.owner		= THIS_MODULE,
 	.name		= "fuse",
-	.fs_flags	= FS_HAS_SUBTYPE,
+	.fs_flags	= FS_HAS_SUBTYPE | FS_VIRTUALIZED,
 	.mount		= fuse_mount,
 	.kill_sb	= fuse_kill_sb_anon,
 };




More information about the Devel mailing list