diff options
author | Max Reitz | 2020-09-09 20:40:26 +0200 |
---|---|---|
committer | Dr. David Alan Gilbert | 2020-10-26 19:35:32 +0100 |
commit | 08dce386e77eb9ab044cb118e5391dc9ae11c5a8 (patch) | |
tree | e9fe204d6fb05ae24a802eb428304ef60acbec79 /tests/test-rcu-list.c | |
parent | virtiofsd: Store every lo_inode's parent_dev (diff) | |
download | qemu-08dce386e77eb9ab044cb118e5391dc9ae11c5a8.tar.gz qemu-08dce386e77eb9ab044cb118e5391dc9ae11c5a8.tar.xz qemu-08dce386e77eb9ab044cb118e5391dc9ae11c5a8.zip |
virtiofsd: Announce sub-mount points
Whenever we encounter a directory with an st_dev that differs from that
of its parent, we set the FUSE_ATTR_SUBMOUNT flag so the guest can
create a submount for it.
Make this behavior optional, so submounts are only announced to the
guest with the announce_submounts option. Some users may prefer the
current behavior, so that the guest learns nothing about the host mount
structure.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20200909184028.262297-7-mreitz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Manual merge
Diffstat (limited to 'tests/test-rcu-list.c')
0 files changed, 0 insertions, 0 deletions