fuse-io-uring: fix req_header_sz size calculation

The header buffer is described by "struct fuse_uring_req_header" rather
than "struct fuse_ring_ent".

Signed-off-by: Jingbo Xu <jefflexu@linux.alibaba.com>
This commit is contained in:
Jingbo Xu
2026-06-12 10:02:58 +08:00
committed by Bernd Schubert
parent bad8b22c91
commit a59ffa424f
+1 -1
View File
@@ -760,7 +760,7 @@ static int fuse_uring_init_queue(struct fuse_ring_queue *queue)
return res;
}
queue->req_header_sz = ROUND_UP(sizeof(struct fuse_ring_ent),
queue->req_header_sz = ROUND_UP(sizeof(struct fuse_uring_req_header),
page_sz);
for (size_t idx = 0; idx < ring->queue_depth; idx++) {