commit | 0cc2656cdb0b1f234e6d29378cb061e29d7522bc | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@redhat.com> | Wed Jun 13 10:23:04 2018 +0100 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Thu Sep 12 14:59:40 2019 +0200 |
tree | 131a397c92997fcfac727b37f1237b31b68c3f55 | |
parent | 4388c5aac4bae5c83a2c66882043942002ba09a2 [diff] |
fuse: extract fuse_fill_super_common() fuse_fill_super() includes code to process the fd= option and link the struct fuse_dev to the fd's struct file. In virtio-fs there is no file descriptor because /dev/fuse is not used. This patch extracts fuse_fill_super_common() so that both classic fuse and virtio-fs can share the code to initialize a mount. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>