mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
io_uring: consistent typing for issue_flags
Some of the functions keep issue_flags as int, change those to unsigned. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/04ad43797783bc9cc7567f287ab545518f8e8cf2.1634144845.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
ab40940247
commit
04f34081c5
@ -3786,7 +3786,7 @@ static int io_mkdirat_prep(struct io_kiocb *req,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int io_mkdirat(struct io_kiocb *req, int issue_flags)
|
||||
static int io_mkdirat(struct io_kiocb *req, unsigned int issue_flags)
|
||||
{
|
||||
struct io_mkdir *mkd = &req->mkdir;
|
||||
int ret;
|
||||
@ -3835,7 +3835,7 @@ static int io_symlinkat_prep(struct io_kiocb *req,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int io_symlinkat(struct io_kiocb *req, int issue_flags)
|
||||
static int io_symlinkat(struct io_kiocb *req, unsigned int issue_flags)
|
||||
{
|
||||
struct io_symlink *sl = &req->symlink;
|
||||
int ret;
|
||||
@ -3885,7 +3885,7 @@ static int io_linkat_prep(struct io_kiocb *req,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int io_linkat(struct io_kiocb *req, int issue_flags)
|
||||
static int io_linkat(struct io_kiocb *req, unsigned int issue_flags)
|
||||
{
|
||||
struct io_hardlink *lnk = &req->hardlink;
|
||||
int ret;
|
||||
|
Loading…
Reference in New Issue
Block a user