- I put my "case" in the middle of a "fall through" cascade of "case"
- I moved it up above the "cascade"
- I'm not able to reproduce the problem with volumes on disk
- 100% sure that this will change the behavior at the customer level
goto check_next_volume;
}
break; /* got a Volume */
+ case VOL_ENC_ERROR:
+ volume_is_unavailable();
+ goto check_next_volume;
+ break;
/*
* At this point, we assume we have a blank tape mounted.
*/
break;
}
/* NOTE! Fall-through wanted. */
- case VOL_ENC_ERROR:
- volume_is_unavailable();
- goto check_next_volume;
- break;
case VOL_NO_MEDIA:
default:
Dmsg0(200, "VOL_NO_MEDIA or default.\n");