use bio_endio instead of a call to bi_end_io
authorNeil Brown <neilb@notabene.brown>
Fri, 27 Jun 2008 22:31:20 +0000 (08:31 +1000)
committerNeil Brown <neilb@notabene.brown>
Fri, 27 Jun 2008 22:31:20 +0000 (08:31 +1000)
commit0e13fe23a00ad88c737d91d94a050707c6139ce4
tree7b52d698f200751cd332948a6ad982d8e839ee2d
parent13864515f7bf6cabd60e63c62e09d311386ae1f1
use bio_endio instead of a call to bi_end_io

Turn calls to bi->bi_end_io() into bio_endio(). Apparently bio_endio does
exactly the same error processing as is hardcoded at these places.

bio_endio() avoids recursion (or will soon), so it should be used.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Neil Brown <neilb@suse.de>
drivers/md/raid5.c