]> 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)
commit0947041b3cfc9b063285b9c78805ca8ce49b798a
tree0ac0a3c54ec6f63efcf6765130e721045bc3f87a
parent9babf857cf91f19b61b9dcadced639be13de7e9f
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