Fix LUN disable in CAM broken at r285155.

MFC after:	1 week
This commit is contained in:
mav 2015-10-23 10:39:43 +00:00
parent 73f40fd44f
commit 52c58ca4ec

View File

@ -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;
}