svn commit: r290172 - stable/10/sys/cam/ctl
Alexander Motin
mav at FreeBSD.org
Fri Oct 30 00:30:02 UTC 2015
Author: mav
Date: Fri Oct 30 00:30:00 2015
New Revision: 290172
URL: https://svnweb.freebsd.org/changeset/base/290172
Log:
MFC r289819: Fix LUN disable in CAM broken at r285155.
Modified:
stable/10/sys/cam/ctl/scsi_ctl.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/cam/ctl/scsi_ctl.c
==============================================================================
--- stable/10/sys/cam/ctl/scsi_ctl.c Fri Oct 30 00:24:37 2015 (r290171)
+++ stable/10/sys/cam/ctl/scsi_ctl.c Fri Oct 30 00:30:00 2015 (r290172)
@@ -1879,7 +1879,7 @@ ctlfe_lun_disable(void *arg, int lun_id)
path = lun_softc->periph->path;
- if ((xpt_path_target_id(path) == 0)
+ if ((xpt_path_target_id(path) == softc->target_id)
&& (xpt_path_lun_id(path) == lun_id)) {
break;
}
More information about the svn-src-stable-10
mailing list