]> git.baikalelectronics.ru Git - kernel.git/commitdiff
io_uring: use a rwf_t for io_rw.flags
authorChristoph Hellwig <hch@lst.de>
Wed, 18 May 2022 08:40:00 +0000 (10:40 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 18 May 2022 12:17:52 +0000 (06:17 -0600)
Use the proper type.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220518084005.3255380-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c

index 78192a9e768417be3f7e903eb0484cc1418272ba..53ddfb57e4bef0ad531ac360a729c8a86a8ad6f6 100644 (file)
@@ -640,7 +640,7 @@ struct io_rw {
        struct kiocb                    kiocb;
        u64                             addr;
        u32                             len;
-       u32                             flags;
+       rwf_t                           flags;
 };
 
 struct io_connect {