]> git.baikalelectronics.ru Git - kernel.git/commit
fuse: extract fuse_fill_super_common()
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 13 Jun 2018 09:23:04 +0000 (10:23 +0100)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 12 Sep 2019 12:59:40 +0000 (14:59 +0200)
commit2e942335c14313c4af358a69781fc36b4ccddf16
tree131a397c92997fcfac727b37f1237b31b68c3f55
parent81a922ad11ebe499d19faa501845e2015028139a
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>
fs/fuse/fuse_i.h
fs/fuse/inode.c