Pull kiocb->ki_complete() cleanup from Jens Axboe: "This removes the res2 argument from kiocb->ki_complete(). Only the USB gadget code used it, everybody else passes 0. The USB guys checked the user gadget code they could find, and everybody just uses res as expected for the async interface" * tag 'for-5.16/ki_complete-2021-10-29' of git://git.kernel.dk/linux-block: fs: get rid of the res2 iocb->ki_complete argument usb: remove res2 argument from gadget code completions
Showing the changes to include (1 of 18 files). Show all
Unified · Split
| @@ -330,7 +330,7 @@ struct kiocb { · 329 unmodified lines | ||
| 330 | 330 | randomized_struct_fields_start |
| 331 | 331 | |
| 332 | 332 | loff_t ki_pos; |
| 333 | − void (*ki_complete)(struct kiocb *iocb, long ret, long ret2); | |
| 333 | + void (*ki_complete)(struct kiocb *iocb, long ret); | |
| 334 | 334 | void *private; |
| 335 | 335 | int ki_flags; |
| 336 | 336 | u16 ki_hint; |