diff mbox

elevator: add fall through comment

Message ID 4638988b826c4101d6fb461a775a8dae74f1f94a.1483524561.git.geliangtang@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Geliang Tang Jan. 13, 2017, 3:17 p.m. UTC
Add fall through comment for ELEVATOR_INSERT_SORT_MERGE.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
---
 block/elevator.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

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;