]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit52c536113a0a197e5110a7cbf70080ac83b1e2f0
tree863d75b6e83dc4bd77a0d51d64e92be79b4cba53
parentfbe11d6b023b8143f4106c08460c62d1510e60f5
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