summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2015-09-06 09:41:08 +0000
committermav <mav@FreeBSD.org>2015-09-06 09:41:08 +0000
commit280f5aeea6e6fe5b060594b25039855ad32514e2 (patch)
tree8392f2fd9dadd0f6e0affe766b90f536556c210f /sys/cam
parent438719ab519dd2b4b76f22db4f09fc1ecacd16f4 (diff)
downloadFreeBSD-src-280f5aeea6e6fe5b060594b25039855ad32514e2.zip
FreeBSD-src-280f5aeea6e6fe5b060594b25039855ad32514e2.tar.gz
MFC r287432: Fix copy-paste bug introduced in r275458.
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/ctl/ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/ctl/ctl.c b/sys/cam/ctl/ctl.c
index 8f3dd95..e07e2d0 100644
--- a/sys/cam/ctl/ctl.c
+++ b/sys/cam/ctl/ctl.c
@@ -9473,7 +9473,7 @@ ctl_report_luns(struct ctl_scsiio *ctsio)
*/
if (request_lun != NULL) {
mtx_lock(&lun->lun_lock);
- ctl_clr_ua(lun, initidx, CTL_UA_RES_RELEASE);
+ ctl_clr_ua(lun, initidx, CTL_UA_LUN_CHANGE);
mtx_unlock(&lun->lun_lock);
}
}
OpenPOWER on IntegriCloud