diff options
author | Guoqing Jiang <guoqing.jiang@cloud.ionos.com> | 2020-03-09 22:41:34 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-03-12 14:42:54 +0100 |
commit | 35ed78b32cbbb6499b82e7a3a6769fa14e4b3c92 (patch) | |
tree | a57ae1336d1f9b040471d6dca1772ac0f6f1ef85 /lib/test_blackhole_dev.c | |
parent | block: fix comment for blk_cloned_rq_check_limits (diff) | |
download | linux-35ed78b32cbbb6499b82e7a3a6769fa14e4b3c92.tar.xz linux-35ed78b32cbbb6499b82e7a3a6769fa14e4b3c92.zip |
block: use bio_{wouldblock,io}_error in direct_make_request
Use the two functions to simplify code.
Signed-off-by: Guoqing Jiang <guoqing.jiang@cloud.ionos.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/test_blackhole_dev.c')
0 files changed, 0 insertions, 0 deletions