commit | 36ffc6c1c0e67acdacb53348350d0a37206dbadf | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Sat Jun 03 09:38:00 2017 +0200 |
committer | Jens Axboe <axboe@fb.com> | Fri Jun 09 09:27:32 2017 -0600 |
tree | 96661f7c76308bc4b0e58f5b8c5537a91cd0a5fa | |
parent | d5245d7674d3f026a3178657936759d572d2d5d8 [diff] |
block_dev: propagate bio_iov_iter_get_pages error in __blkdev_direct_IO Once we move the block layer to its own status code we'll still want to propagate the bio_iov_iter_get_pages, so restructure __blkdev_direct_IO to take ret into account when returning the errno. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>