Author: scottl
Date: Tue Jan 9 21:24:05 2018
New Revision: 327742
URL: https://svnweb.freebsd.org/changeset/base/327742
Log:
Release the held refcount on the probe periph when probing is
done, now that r327741 lets this happen.
Obtained from: Netflix
Modified:
head/sys/cam/nvme/nvme_xpt.c
Modified: head/sys/cam/nvme/nvme_xpt.c
==============================================================================
--- head/sys/cam/nvme/nvme_xpt.c Tue Jan 9 21:23:16 2018
(r327741)
+++ head/sys/cam/nvme/nvme_xpt.c Tue Jan 9 21:24:05 2018
(r327742)
@@ -318,8 +318,7 @@ nvme_probe_start(struct cam_periph *periph, union ccb
xpt_done(start_ccb);
}
cam_periph_invalidate(periph);
- /* Can't release periph since we hit a (possibly bogus) assertion */
-// cam_periph_release_locked(periph);
+ cam_periph_release_locked(periph);
}
static void
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"