block: Return blk_status_t instead of errno codes
authorRitika Srivastava <ritika.srivastava@oracle.com>
Tue, 1 Sep 2020 20:17:30 +0000 (13:17 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 2 Sep 2020 01:38:33 +0000 (19:38 -0600)
commit143d2600faf1563fd4125686ab84afaab5fb513b
treee378c775c911d7131369174625dc0f8e0d4cc8b9
parent9d3a39a5f1e45827b008fff1ee9cf3cac3409665
block: Return blk_status_t instead of errno codes

Replace returning legacy errno codes with blk_status_t in
blk_cloned_rq_check_limits().

Signed-off-by: Ritika Srivastava <ritika.srivastava@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c