mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 22:21:42 +00:00
de23077eda
Signed-off-by: Jens Axboe <axboe@kernel.dk>
14 lines
229 B
C
14 lines
229 B
C
#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
|