Release the held refcount on the probe periph when probing is

done, now that r327741 lets this happen.

Obtained from:	Netflix
This commit is contained in:
Scott Long 2018-01-09 21:24:05 +00:00
parent 7c1374d5f5
commit 876f6a6af2

View File

@ -318,8 +318,7 @@ nvme_probe_start(struct cam_periph *periph, union ccb *start_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