virtiofsd: Check FUSE_SUBMOUNTS
commit9c6ac0436356132da97c4bbb7f6c90b062438176
authorMax Reitz <mreitz@redhat.com>
Mon, 2 Nov 2020 16:18:53 +0000 (2 17:18 +0100)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 2 Nov 2020 19:22:06 +0000 (2 19:22 +0000)
treed64d3839e734a19a7dee6ed7c21faa18d9411af5
parent0429eaf518be1d4742356056e6c886b7f9bc9712
virtiofsd: Check FUSE_SUBMOUNTS

FUSE_SUBMOUNTS is a pure indicator by the kernel to signal that it
supports submounts.  It does not check its state in the init reply, so
there is nothing for fuse_lowlevel.c to do but to check its existence
and copy it into fuse_conn_info.capable.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20201102161859.156603-2-mreitz@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
tools/virtiofsd/fuse_common.h
tools/virtiofsd/fuse_lowlevel.c