io_uring: consistent typing for issue_flags
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 14 Oct 2021 15:10:12 +0000 (16:10 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 19 Oct 2021 11:49:55 +0000 (05:49 -0600)
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>
fs/io_uring.c

index 6859dae..094cd5f 100644 (file)
@@ -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;