aboutsummaryrefslogtreecommitdiff
path: root/io_uring/io_uring.h
blob: 522e652197572efbdc4a172c0c204b0c77629273 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef IOU_CORE_H
#define IOU_CORE_H

#include <linux/errno.h>
#include "io_uring_types.h"

static inline void io_req_set_res(struct io_kiocb *req, s32 res, u32 cflags)
{
	req->cqe.res = res;
	req->cqe.flags = cflags;
}

#endif