]> git.baikalelectronics.ru Git - kernel.git/commit
block: remove an incorrect check from blk_rq_append_bio
authorChristoph Hellwig <hch@lst.de>
Fri, 9 Apr 2021 15:04:46 +0000 (17:04 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 12 Apr 2021 12:45:12 +0000 (06:45 -0600)
commitbae5326d88e6d5ba548ef7666debbac7a6abcaab
tree07d9b5c06a3953ea2810d0d2b2506554b132479c
parentd75c40f648cc0dd67723d6acfbe039dbcc21c4f6
block: remove an incorrect check from blk_rq_append_bio

blk_rq_append_bio is also used for the copy case, not just the map case,
so tis debug check is not correct.

Fixes: 5f8bfac6114f ("block: stop calling blk_queue_bounce for passthrough requests")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Link: https://lore.kernel.org/r/20210409150447.1977410-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-map.c