]> git.baikalelectronics.ru Git - kernel.git/commit
fs: simplify dio_bio_complete
authorChristoph Hellwig <hch@lst.de>
Sat, 3 Jun 2017 07:37:59 +0000 (09:37 +0200)
committerJens Axboe <axboe@fb.com>
Fri, 9 Jun 2017 15:27:32 +0000 (09:27 -0600)
commit0053d1649994265aa75ec05d19b609e788c3c4fb
tree0ac0a3c54ec6f63efcf6765130e721045bc3f87a
parent471d5fa1aeee015d2d91545c9f4a06c73761c4f1
fs: simplify dio_bio_complete

Only read bio->bi_error once in the common path.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <Bart.VanAssche@sandisk.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
fs/direct-io.c