From: Christoph Hellwig Date: Tue, 31 Jan 2017 15:57:22 +0000 (+0100) Subject: scm_blk: remove unneeded REQ_TYPE_FS check X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1dd128a1ff1eb75ab45c62d9438acdcf5558d3b7;p=openwrt%2Fstaging%2Fblogic.git scm_blk: remove unneeded REQ_TYPE_FS check Signed-off-by: Christoph Hellwig Signed-off-by: Jens Axboe --- diff --git a/drivers/s390/block/scm_blk.c b/drivers/s390/block/scm_blk.c index 9f16ea6964ec..152de6817875 100644 --- a/drivers/s390/block/scm_blk.c +++ b/drivers/s390/block/scm_blk.c @@ -300,13 +300,6 @@ static void scm_blk_request(struct request_queue *rq) struct request *req; while ((req = blk_peek_request(rq))) { - if (req->cmd_type != REQ_TYPE_FS) { - blk_start_request(req); - blk_dump_rq_flags(req, KMSG_COMPONENT " bad request"); - __blk_end_request_all(req, -EIO); - continue; - } - if (!scm_permit_request(bdev, req)) goto out;