Implement {disk|part}_to_dev() and use them to access generic deviceinstead of directly dereferencing {disk|part}->dev. To make sure nouser is left behind, rename generic devices fields to __dev.This is in preparation of unifying partition 0 handling with otherpartitions.