[PATCH] elevator: add fall through comment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add fall through comment for ELEVATOR_INSERT_SORT_MERGE.

Signed-off-by: Geliang Tang <geliangtang@xxxxxxxxx>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe linux-block" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux