svn commit: r287432 - head/sys/cam/ctl

Alexander Motin mav at FreeBSD.org
Thu Sep 3 12:15:15 UTC 2015


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


More information about the svn-src-all mailing list