linux/fs/fuse
Alok Tiwari cf327202d9 virtio-fs: fix incorrect check for fsvq->kobj
[ Upstream commit c014021253 ]

In virtio_fs_add_queues_sysfs(), the code incorrectly checks fs->mqs_kobj
after calling kobject_create_and_add(). Change the check to fsvq->kobj
(fs->mqs_kobj -> fsvq->kobj) to ensure the per-queue kobject is
successfully created.

Fixes: 87cbdc396a ("virtio_fs: add sysfs entries for queue information")
Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Link: https://patch.msgid.link/20251027104658.1668537-1-alok.a.tiwari@oracle.com
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-11-24 10:35:57 +01:00
..
acl.c fuse: support idmapped ->set_acl 2024-09-04 16:51:11 +02:00
control.c [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
cuse.c cuse: add kernel-doc comments to cuse_process_init_reply() 2024-04-15 11:02:10 +02:00
dax.c fuse: fix dax truncate/punch_hole fault path 2025-04-10 14:39:25 +02:00
dev.c fuse: fix possibly missing fuse_copy_finish() call in fuse_notify() 2025-10-19 16:33:49 +02:00
dir.c fuse: fix race between concurrent setattrs from multiple nodes 2025-07-06 11:01:32 +02:00
file.c fuse: fix livelock in synchronous file put from fuseblk workers 2025-10-19 16:33:50 +02:00
fuse_i.h virtiofs: use pages instead of pointer for kernel direct IO 2024-12-05 14:02:21 +01:00
fuse_trace.h fuse: add simple request tracepoints 2024-08-29 11:43:13 +02:00
inode.c fuse: zero initialize inode private data 2025-11-13 15:34:15 -05:00
ioctl.c fs/fuse: introduce and use fuse_simple_idmap_request() helper 2024-09-23 11:07:55 +02:00
iomode.c fuse: fix parallel dio write on file open in passthrough mode 2024-04-15 10:12:44 +02:00
Kconfig fuse: introduce FUSE_PASSTHROUGH capability 2024-02-23 17:36:32 +01:00
Makefile fuse: add simple request tracepoints 2024-08-29 11:43:13 +02:00
passthrough.c fuse: do not allow mapping a non-regular backing file 2025-09-19 16:35:46 +02:00
readdir.c fs/fuse: introduce and use fuse_simple_idmap_request() helper 2024-09-23 11:07:55 +02:00
virtio_fs.c virtio-fs: fix incorrect check for fsvq->kobj 2025-11-24 10:35:57 +01:00
xattr.c fs/fuse: introduce and use fuse_simple_idmap_request() helper 2024-09-23 11:07:55 +02:00