[PATCH 1/4] nodedev: refactor storage type fixup