Skip to content
Snippets Groups Projects
Commit 6712ecf8 authored by NeilBrown's avatar NeilBrown Committed by Jens Axboe
Browse files

Drop 'size' argument from bio_endio and bi_end_io


As bi_end_io is only called once when the reqeust is complete,
the 'size' argument is now redundant.  Remove it.

Now there is no need for bio_endio to subtract the size completed
from bi_size.  So don't do that either.

While we are at it, change bi_end_io to return void.

Signed-off-by: default avatarNeil Brown <neilb@suse.de>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 5bb23a68
No related branches found
No related tags found
Loading
Showing
with 50 additions and 89 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment