const int n_ents = ll_entry_count(struct part_driver, part_driver);
struct part_driver *entry;
+ blkcache_invalidate(dev_desc->if_type, dev_desc->devnum);
+
dev_desc->part_type = PART_TYPE_UNKNOWN;
for (entry = drv; entry != drv + n_ents; entry++) {
int ret;
return -EPROTONOSUPPORT;
}
if (!drv->get_info) {
- PRINTF("## Driver %s does not have the get_info() method\n");
+ PRINTF("## Driver %s does not have the get_info() method\n",
+ drv->name);
return -ENOSYS;
}
if (drv->get_info(dev_desc, part, info) == 0) {