From: NeilBrown Date: Thu, 27 Sep 2007 10:46:12 +0000 (+0200) Subject: Only call bi_end_io once for any bio X-Git-Tag: v2.6.24-rc1~1460^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cc54d40b8ca01fcefc9151044b6996565061d90;p=pandora-kernel.git 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 ### 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 --- Reading git-diff-tree failed