linux-stable/fs/fuse
Max Reitz bf109c6404 fuse: implement crossmounts
FUSE servers can indicate crossmount points by setting FUSE_ATTR_SUBMOUNT
in fuse_attr.flags.  The inode will then be marked as S_AUTOMOUNT, and the
.d_automount implementation creates a new submount at that location, so
that the submount gets a distinct st_dev value.

Note that all submounts get a distinct superblock and a distinct st_dev
value, so for virtio-fs, even if the same filesystem is mounted more than
once on the host, none of its mount points will have the same st_dev.  We
need distinct superblocks because the superblock points to the root node,
but the different host mounts may show different trees (e.g. due to
submounts in some of them, but not in others).

Right now, this behavior is only enabled when fuse_conn.auto_submounts is
set, which is the case only for virtio-fs.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2020-10-09 16:33:47 +02:00
..
acl.c fuse: Support fuse filesystems outside of init_user_ns 2018-03-20 17:11:44 +01:00
control.c fuse: split fuse_mount off of fuse_conn 2020-09-18 15:17:41 +02:00
cuse.c fuse: split fuse_mount off of fuse_conn 2020-09-18 15:17:41 +02:00
dax.c fuse: split fuse_mount off of fuse_conn 2020-09-18 15:17:41 +02:00
dev.c fuse: split fuse_mount off of fuse_conn 2020-09-18 15:17:41 +02:00
dir.c fuse: implement crossmounts 2020-10-09 16:33:47 +02:00
file.c fuse: split fuse_mount off of fuse_conn 2020-09-18 15:17:41 +02:00
fuse_i.h fuse: implement crossmounts 2020-10-09 16:33:47 +02:00
inode.c fuse: implement crossmounts 2020-10-09 16:33:47 +02:00
Kconfig virtiofs: implement dax read/write operations 2020-09-10 11:39:23 +02:00
Makefile virtiofs: add a mount option to enable dax 2020-09-10 11:39:22 +02:00
readdir.c fuse: split fuse_mount off of fuse_conn 2020-09-18 15:17:41 +02:00
virtio_fs.c fuse: implement crossmounts 2020-10-09 16:33:47 +02:00
xattr.c fuse: split fuse_mount off of fuse_conn 2020-09-18 15:17:41 +02:00