[PATCH 6.1 007/440] ubd: refactor the interrupt handler