Commit 712fbe9
io_uring: move flags check to io_uring_sanitise_params
io_uring_sanitise_params() sanitises most of the setup flags invariants,
move the IORING_SETUP_FLAGS check from io_uring_setup() into it.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 0140589 commit 712fbe9
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3430 | 3430 | | |
3431 | 3431 | | |
3432 | 3432 | | |
| 3433 | + | |
| 3434 | + | |
| 3435 | + | |
3433 | 3436 | | |
3434 | 3437 | | |
3435 | 3438 | | |
| |||
3691 | 3694 | | |
3692 | 3695 | | |
3693 | 3696 | | |
3694 | | - | |
3695 | | - | |
3696 | 3697 | | |
3697 | 3698 | | |
3698 | 3699 | | |
| |||
0 commit comments