Revision 73006d2a
b/monitor.c | ||
---|---|---|
259 | 259 |
all_devices = !strcmp(device, "all"); |
260 | 260 |
TAILQ_FOREACH(dinfo, &drives, next) { |
261 | 261 |
if (!all_devices) |
262 |
if (!strcmp(bdrv_get_device_name(dinfo->bdrv), device))
|
|
262 |
if (strcmp(bdrv_get_device_name(dinfo->bdrv), device)) |
|
263 | 263 |
continue; |
264 | 264 |
bdrv_commit(dinfo->bdrv); |
265 | 265 |
} |
Also available in: Unified diff