[PATCH] Clean up usage of boot_dev