Drop 'size' argument from bio_endio and bi_end_io
commit6712ecf8f648118c3363c142196418f89a510b90
authorNeilBrown <neilb@suse.de>
Thu, 27 Sep 2007 10:47:43 +0000 (27 12:47 +0200)
committerJens Axboe <axboe@carl.home.kernel.dk>
Wed, 10 Oct 2007 07:25:57 +0000 (10 09:25 +0200)
tree347d39a7d5a7ed96d3b1afecd28de2a0f98b98c9
parent5bb23a688b2de23d7765a1dd439d89c038378978
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: Neil Brown <neilb@suse.de>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
45 files changed:
block/ll_rw_blk.c
drivers/block/aoe/aoeblk.c
drivers/block/aoe/aoecmd.c
drivers/block/aoe/aoedev.c
drivers/block/cciss.c
drivers/block/cpqarray.c
drivers/block/floppy.c
drivers/block/loop.c
drivers/block/pktcdvd.c
drivers/block/rd.c
drivers/block/umem.c
drivers/md/dm-crypt.c
drivers/md/dm-emc.c
drivers/md/dm-io.c
drivers/md/dm-mpath.c
drivers/md/dm-raid1.c
drivers/md/dm-snap.c
drivers/md/dm-zero.c
drivers/md/dm.c
drivers/md/faulty.c
drivers/md/linear.c
drivers/md/md.c
drivers/md/multipath.c
drivers/md/raid0.c
drivers/md/raid1.c
drivers/md/raid10.c
drivers/md/raid5.c
drivers/s390/block/dcssblk.c
drivers/s390/block/xpram.c
drivers/scsi/scsi_lib.c
fs/bio.c
fs/block_dev.c
fs/buffer.c
fs/direct-io.c
fs/gfs2/super.c
fs/jfs/jfs_logmgr.c
fs/jfs/jfs_metapage.c
fs/mpage.c
fs/ocfs2/cluster/heartbeat.c
fs/xfs/linux-2.6/xfs_aops.c
fs/xfs/linux-2.6/xfs_buf.c
include/linux/bio.h
include/linux/swap.h
mm/bounce.c
mm/page_io.c