diff options
| author | Joanne Koong <joannelkoong@gmail.com> | 2026-06-13 00:05:09 +0300 |
|---|---|---|
| committer | Miklos Szeredi <mszeredi@redhat.com> | 2026-06-15 15:06:21 +0300 |
| commit | 8bbb2ad1f687633a991839bd3efae04ccfb29e19 (patch) | |
| tree | 40ea6f6f6e287bc2b7b8e946609d8982a6fcd6c9 /include/uapi | |
| parent | c0f9203732fc70de8d20697270bfe405481eac14 (diff) | |
| download | linux-8bbb2ad1f687633a991839bd3efae04ccfb29e19.tar.xz | |
fuse-uring: use named constants for io-uring iovec indices
Replace magic indices 0 and 1 for the iovec array with named constants
FUSE_URING_IOV_HEADERS and FUSE_URING_IOV_PAYLOAD. This makes the usages
self-documenting and prepares for buffer ring support which will also
reference these iovec slots by index.
Reviewed-by: Bernd Schubert <bernd@bsbernd.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Baokun Li <libaokun@linux.alibaba.com>
Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions
