On Wed, Sep 09, 2020 at 08:45:59PM +0200, Max Reitz wrote: > Every fuse_req belongs to a fuse_conn. Right now, we always know which > fuse_conn that is based on the respective device, but we want to allow > multiple (sub)mounts per single connection, and then the corresponding > filesystem is not going to be so trivial to obtain. > > Storing a pointer to the associated fuse_conn in every fuse_req will > allow us to trivially find any request's superblock (and thus > filesystem) even then. > > Signed-off-by: Max Reitz <[email protected]> > --- > fs/fuse/fuse_i.h | 3 +++ > fs/fuse/dev.c | 13 +++++++------ > 2 files changed, 10 insertions(+), 6 deletions(-)
Reviewed-by: Stefan Hajnoczi <[email protected]>
signature.asc
Description: PGP signature
_______________________________________________ Virtio-fs mailing list [email protected] https://www.redhat.com/mailman/listinfo/virtio-fs
