virtiofsd: Show submounts
commitace0829c0d08f0e5f1451e402e94495bc2166772
authorMax Reitz <mreitz@redhat.com>
Fri, 24 Apr 2020 13:35:16 +0000 (24 15:35 +0200)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 1 May 2020 17:52:17 +0000 (1 18:52 +0100)
tree0d19ef27ccacc24354e51821df8bb1089bf2dace
parent397ae982f4df46e7d4b2625c431062c9146f3b83
virtiofsd: Show submounts

Currently, setup_mounts() bind-mounts the shared directory without
MS_REC.  This makes all submounts disappear.

Pass MS_REC so that the guest can see submounts again.

Fixes: 5baa3b8e95064c2434bd9e2f312edd5e9ae275dc
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20200424133516.73077-1-mreitz@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
  Changed Fixes to point to the commit with the problem rather than
          the commit that turned it on
tools/virtiofsd/passthrough_ll.c