BAD_SNAP_INDEX
return found ? (u32)(found - &snapc->snaps[0]) : BAD_SNAP_INDEX;
if (which == BAD_SNAP_INDEX)