Skip to content

Commit 96a7d05

Browse files
rhvgoyalmikeNG
authored andcommitted
UPSTREAM: virtio-fs: Change module name to virtiofs.ko
We have been calling it virtio_fs and even file name is virtio_fs.c. Module name is virtio_fs.ko but when registering file system user is supposed to specify filesystem type as "virtiofs". Masayoshi Mizuma reported that he specified filesytem type as "virtio_fs" and got this warning on console. ------------[ cut here ]------------ request_module fs-virtio_fs succeeded, but still no fs? WARNING: CPU: 1 PID: 1234 at fs/filesystems.c:274 get_fs_type+0x12c/0x138 Modules linked in: ... virtio_fs fuse virtio_net net_failover ... CPU: 1 PID: 1234 Comm: mount Not tainted 5.4.0-rc1 #1 So looks like kernel could find the module virtio_fs.ko but could not find filesystem type after that. It probably is better to rename module name to virtiofs.ko so that above warning goes away in case user ends up specifying wrong fs name. Reported-by: Masayoshi Mizuma <msys.mizuma@gmail.com> Suggested-by: Stefan Hajnoczi <stefanha@redhat.com> Change-Id: I92808317dc4517c358fe9644fe3f10ddd3578539 Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Tested-by: Masayoshi Mizuma <m.mizuma@jp.fujitsu.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
1 parent 24c54f9 commit 96a7d05

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

fs/fuse/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
obj-$(CONFIG_FUSE_FS) += fuse.o
66
obj-$(CONFIG_CUSE) += cuse.o
7-
obj-$(CONFIG_VIRTIO_FS) += virtio_fs.o
7+
obj-$(CONFIG_VIRTIO_FS) += virtiofs.o
88

99
fuse-objs := dev.o dir.o file.o inode.o control.o xattr.o acl.o readdir.o
1010
fuse-objs += passthrough.o
11+
virtiofs-y += virtio_fs.o

0 commit comments

Comments
 (0)