commit | 9cc54d40b8ca01fcefc9151044b6996565061d90 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Thu Sep 27 12:46:12 2007 +0200 |
committer | Jens Axboe <axboe@carl.home.kernel.dk> | Wed Oct 10 09:25:57 2007 +0200 |
tree | a6336d7040dd6e656819257e00d493147c790496 | |
parent | d24517d793f21edab1a411da95f2c45cb88a84aa [diff] |
Only call bi_end_io once for any bio Currently bi_end_io can be called multiple times as sub-requests complete. However no ->bi_end_io function wants to know about that. So only call when the bio is complete. Signed-off-by: Neil Brown <neilb@suse.de> ### Diffstat output ./fs/bio.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff .prev/fs/bio.c ./fs/bio.c Signed-off-by: Jens Axboe <jens.axboe@oracle.com>