]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
virtio_fs: fix the hash table using in virtio_fs_enqueue_req()
authorLi RongQing <lirongqing@baidu.com>
Thu, 3 Jul 2025 06:47:38 +0000 (14:47 +0800)
committerMiklos Szeredi <mszeredi@redhat.com>
Wed, 27 Aug 2025 12:29:43 +0000 (14:29 +0200)
commit7dbe6442487743ad492d9143f1f404c1f4a05e0e
treefbc8c9268926d2c186d70e26442c03443a8851ae
parent2841808f35eebfd07150333f3af3007cb2904a09
virtio_fs: fix the hash table using in virtio_fs_enqueue_req()

The original commit be2ff42c5d6e ("fuse: Use hash table to link
processing request") converted fuse_pqueue->processing to a hash table,
but virtio_fs_enqueue_req() was not updated to use it correctly.
So use fuse_pqueue->processing as a hash table, this make the code
more coherent

Co-developed-by: Fushuai Wang <wangfushuai@baidu.com>
Signed-off-by: Fushuai Wang <wangfushuai@baidu.com>
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/dev.c
fs/fuse/virtio_fs.c