fs: get rid of the res2 iocb->ki_complete argument
authorJens Axboe <axboe@kernel.dk>
Thu, 21 Oct 2021 15:22:35 +0000 (09:22 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Oct 2021 16:36:24 +0000 (10:36 -0600)
commit6b19b766e8f077f29cdb47da5003469a85bbfb9c
tree8ae1c68714c880a644ac05094491b74d86e9f590
parent4c3d8accdce26afa8089609593aa92965b500f72
fs: get rid of the res2 iocb->ki_complete argument

The second argument was only used by the USB gadget code, yet everyone
pays the overhead of passing a zero to be passed into aio, where it
ends up being part of the aio res2 value.

Now that everybody is passing in zero, kill off the extra argument.

Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
18 files changed:
block/fops.c
crypto/af_alg.c
drivers/block/loop.c
drivers/nvme/target/io-cmd-file.c
drivers/target/target_core_file.c
drivers/usb/gadget/function/f_fs.c
drivers/usb/gadget/legacy/inode.c
fs/aio.c
fs/cachefiles/io.c
fs/ceph/file.c
fs/cifs/file.c
fs/direct-io.c
fs/fuse/file.c
fs/io_uring.c
fs/iomap/direct-io.c
fs/nfs/direct.c
fs/overlayfs/file.c
include/linux/fs.h