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>
This commit is contained in:
@ -275,7 +275,7 @@ static void nfs_direct_complete(struct nfs_direct_req *dreq)
|
||||
res = (long) dreq->count;
|
||||
WARN_ON_ONCE(dreq->count < 0);
|
||||
}
|
||||
dreq->iocb->ki_complete(dreq->iocb, res, 0);
|
||||
dreq->iocb->ki_complete(dreq->iocb, res);
|
||||
}
|
||||
|
||||
complete(&dreq->completion);
|
||||
|
Reference in New Issue
Block a user