[PATCH 13/24] scsi-multipath: set disk device_groups
From: John Garry
Date: Wed Feb 25 2026 - 10:44:12 EST
Set disk device_groups as mpath_device_groups, as this gives us the
"multipath" syfs device groups.
Signed-off-by: John Garry <john.g.garry@xxxxxxxxxx>
---
drivers/scsi/scsi_multipath.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/scsi/scsi_multipath.c b/drivers/scsi/scsi_multipath.c
index 6aeac20a350ff..73afcbaf2d7de 100644
--- a/drivers/scsi/scsi_multipath.c
+++ b/drivers/scsi/scsi_multipath.c
@@ -389,6 +389,7 @@ struct mpath_head_template smpdt_pr = {
.available_path = scsi_mpath_available_path,
.get_iopolicy = scsi_mpath_get_iopolicy,
.clone_bio = scsi_mpath_clone_bio,
+ .device_groups = mpath_device_groups,
};
static struct scsi_mpath_head *scsi_mpath_alloc_head(void)
--
2.43.5