History

Merge tag 'for-5.16/ki_complete-2021-10-29' of git://git.kernel.dk/linux-block

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

Linus Torvalds committed 5 years ago

Commit b6773cd2 parents 71ae426 6b19b7618 files · +34 −37Browse files

Showing the changes to include (1 of 18 files). Show all

Unified · Split

include/linux/fs.h+1−1
@@ -330,7 +330,7 @@ struct kiocb { · 329 unmodified lines
330330 randomized_struct_fields_start
331331
332332 loff_t ki_pos;
333− void (*ki_complete)(struct kiocb *iocb, long ret, long ret2);
333+ void (*ki_complete)(struct kiocb *iocb, long ret);
334334 void *private;
335335 int ki_flags;
336336 u16 ki_hint;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t