Commit 565c5e6
io_uring: move io_uring_rsrc_update2 validation
Move validation to be more consistently straight after
copy_from_user. This is already done in io_register_rsrc_update and so
this removes that redundant check.
Signed-off-by: Dylan Yudaken <dylany@fb.com>
Link: https://lore.kernel.org/r/20220412163042.2788062-2-dylany@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 0f8da75 commit 565c5e6
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11398 | 11398 | | |
11399 | 11399 | | |
11400 | 11400 | | |
11401 | | - | |
11402 | | - | |
11403 | 11401 | | |
11404 | 11402 | | |
11405 | 11403 | | |
| |||
11425 | 11423 | | |
11426 | 11424 | | |
11427 | 11425 | | |
| 11426 | + | |
| 11427 | + | |
11428 | 11428 | | |
11429 | 11429 | | |
11430 | 11430 | | |
| |||
0 commit comments