On 02/03/2026 04:08, Benjamin Marzinski wrote:
+static inline void scsi_mpath_start_request(struct request *req)
+{
+       struct scsi_cmnd *cmd = blk_mq_rq_to_pdu(req);
+
+       if (is_mpath_request(req))
+               scsi_cmd_to_driver(cmd)->mpath_start_cmd(cmd);
+}
+
+static inline void scsi_mpath_end_request(struct request *req)
+{
+       struct scsi_cmnd *cmd = blk_mq_rq_to_pdu(req);
+
+       if (is_mpath_request(req))
+               scsi_cmd_to_driver(cmd)->mpath_start_cmd(cmd);
Copy-paste error. It should be:

                scsi_cmd_to_driver(cmd)->mpath_end_cmd(cmd);


Of course, obviously my testing needs more coverage.

Thanks!

Reply via email to