block: cleanup bio_endio
authorChristoph Hellwig <hch@lst.de>
Fri, 11 Mar 2016 16:34:52 +0000 (17:34 +0100)
committerJens Axboe <axboe@fb.com>
Mon, 14 Mar 2016 14:55:24 +0000 (08:55 -0600)
commitba8c6967b7391aab8fa562611fe637a57850b4aa
tree863d75b6e83dc4bd77a0d51d64e92be79b4cba53
parent38f8baae890561203ba6093f76b14576ce9b271b
block: cleanup bio_endio

Replace the while loop that unecessarily checks for a NULL bio in the fast
path with a simple goto loop.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/bio.c