From: Richard Weinberger MTD reads return in-band and out-of-band data in one operation. To serve such a read with a single request, the reply has to carry a header, the in-band data and the out-of-band data, each in a buffer of its own. Raise the number of output arguments of struct fuse_args from two to three. The code which copies a reply iterates over out_numargs, so nothing else has to change. struct fuse_args is part of every request, so each of them grows by the size of one struct fuse_arg, 16 bytes on 64-bit. The first user will be MUSE. Signed-off-by: Richard Weinberger --- include/net/fuse.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net/fuse.h b/include/net/fuse.h index 30155f2ed17c..bd34f2025287 100644 --- a/include/net/fuse.h +++ b/include/net/fuse.h @@ -58,7 +58,7 @@ struct fuse_args { /* server requested io-uring zero-copy for this op */ bool zero_copy:1; struct fuse_in_arg in_args[4]; - struct fuse_arg out_args[2]; + struct fuse_arg out_args[3]; void (*end)(struct fuse_args *args, int error); /* Used for kvec iter backed by vmalloc address */ void *vmap_base; -- 2.55.0