Author: mav
Date: Thu Sep  3 12:15:14 2015
New Revision: 287432
URL: https://svnweb.freebsd.org/changeset/base/287432

Log:
  Fix copy-paste bug introduced in r275458.
  
  MFC after:    3 days

Modified:
  head/sys/cam/ctl/ctl.c

Modified: head/sys/cam/ctl/ctl.c
==============================================================================
--- head/sys/cam/ctl/ctl.c      Thu Sep  3 11:43:56 2015        (r287431)
+++ head/sys/cam/ctl/ctl.c      Thu Sep  3 12:15:14 2015        (r287432)
@@ -8951,7 +8951,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);
                }
        }
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to