projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Drop 'size' argument from bio_endio and bi_end_io
[linux-2.6-block.git]
/
drivers
/
block
/
aoe
/
aoecmd.c
diff --git
a/drivers/block/aoe/aoecmd.c
b/drivers/block/aoe/aoecmd.c
index 01fbdd38e3be21979027538b64b5cd56dc516f0c..5abae34ad65baad472fcfee487bf354953c23dd4 100644
(file)
--- a/
drivers/block/aoe/aoecmd.c
+++ b/
drivers/block/aoe/aoecmd.c
@@
-652,7
+652,7
@@
aoecmd_ata_rsp(struct sk_buff *skb)
disk_stat_add(disk, sectors[rw], n_sect);
disk_stat_add(disk, io_ticks, duration);
n = (buf->flags & BUFFL_FAIL) ? -EIO : 0;
- bio_endio(buf->bio,
buf->bio->bi_size,
n);
+ bio_endio(buf->bio, n);
mempool_free(buf, d->bufpool);
}
}