[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <4638988b826c4101d6fb461a775a8dae74f1f94a.1483524561.git.geliangtang@gmail.com>
Date: Fri, 13 Jan 2017 23:17:11 +0800
From: Geliang Tang <geliangtang@...il.com>
To: Jens Axboe <axboe@...nel.dk>
Cc: Geliang Tang <geliangtang@...il.com>, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] elevator: add fall through comment
Add fall through comment for ELEVATOR_INSERT_SORT_MERGE.
Signed-off-by: Geliang Tang <geliangtang@...il.com>
---
block/elevator.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/block/elevator.c b/block/elevator.c
index 40f0c04..6db8f89 100644
--- a/block/elevator.c
+++ b/block/elevator.c
@@ -638,6 +638,7 @@ void __elv_add_request(struct request_queue *q, struct request *rq, int where)
*/
if (elv_attempt_insert_merge(q, rq))
break;
+ /* Fall through */
case ELEVATOR_INSERT_SORT:
BUG_ON(rq->cmd_type != REQ_TYPE_FS);
rq->rq_flags |= RQF_SORTED;
--
2.9.3
Powered by blists - more mailing lists