SB_CLOSED
if (xchg(&sbp.open, SB_OPENING) != SB_CLOSED)
sbp.open = SB_CLOSED;
if (minor != 0 || sbp.open != SB_CLOSED)