Commit 1dd128a1 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe

scm_blk: remove unneeded REQ_TYPE_FS check

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 97b50a65
...@@ -300,13 +300,6 @@ static void scm_blk_request(struct request_queue *rq) ...@@ -300,13 +300,6 @@ static void scm_blk_request(struct request_queue *rq)
struct request *req; struct request *req;
while ((req = blk_peek_request(rq))) { 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)) if (!scm_permit_request(bdev, req))
goto out; goto out;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment