]> err.no Git - linux-2.6/commit
Only call bi_end_io once for any bio
authorNeilBrown <neilb@suse.de>
Thu, 27 Sep 2007 10:46:12 +0000 (12:46 +0200)
committerJens Axboe <axboe@carl.home.kernel.dk>
Wed, 10 Oct 2007 07:25:57 +0000 (09:25 +0200)
commit9cc54d40b8ca01fcefc9151044b6996565061d90
treea6336d7040dd6e656819257e00d493147c790496
parentd24517d793f21edab1a411da95f2c45cb88a84aa
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>
fs/bio.c