cam: Fix typos in source code comments
- s/paniced/panicked/ MFC after: 3 days
This commit is contained in:
parent
f8d292b665
commit
49dace1d46
@ -3563,7 +3563,7 @@ adaflush(void)
|
||||
CAM_PERIPH_FOREACH(periph, &adadriver) {
|
||||
softc = (struct ada_softc *)periph->softc;
|
||||
if (SCHEDULER_STOPPED()) {
|
||||
/* If we paniced with the lock held, do not recurse. */
|
||||
/* If we panicked with the lock held, do not recurse. */
|
||||
if (!cam_periph_owned(periph) &&
|
||||
(softc->flags & ADA_FLAG_OPEN)) {
|
||||
adadump(softc->disk, NULL, 0, 0, 0);
|
||||
@ -3615,7 +3615,7 @@ adaspindown(uint8_t cmd, int flags)
|
||||
int mode;
|
||||
|
||||
CAM_PERIPH_FOREACH(periph, &adadriver) {
|
||||
/* If we paniced with lock held - not recurse here. */
|
||||
/* If we panicked with lock held - not recurse here. */
|
||||
if (cam_periph_owned(periph))
|
||||
continue;
|
||||
cam_periph_lock(periph);
|
||||
|
@ -1317,7 +1317,7 @@ ndaflush(void)
|
||||
|
||||
if (SCHEDULER_STOPPED()) {
|
||||
/*
|
||||
* If we paniced with the lock held or the periph is not
|
||||
* If we panicked with the lock held or the periph is not
|
||||
* open, do not recurse. Otherwise, call ndadump since
|
||||
* that avoids the sleeping cam_periph_getccb does if no
|
||||
* CCBs are available.
|
||||
|
Loading…
Reference in New Issue
Block a user