提交 1dd128a1 编写于 作者: C Christoph Hellwig 提交者: Jens Axboe

scm_blk: remove unneeded REQ_TYPE_FS check

Signed-off-by: NChristoph Hellwig <hch@lst.de>
Signed-off-by: NJens Axboe <axboe@fb.com>
上级 97b50a65
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册