Revision 114cdfa9 block.c
b/block.c | ||
---|---|---|
396 | 396 |
if (is_protocol) |
397 | 397 |
snprintf(backing_filename, sizeof(backing_filename), |
398 | 398 |
"%s", filename); |
399 |
else |
|
400 |
realpath(filename, backing_filename);
|
|
399 |
else if (!realpath(filename, backing_filename))
|
|
400 |
return -errno;
|
|
401 | 401 |
|
402 | 402 |
bdrv_qcow2 = bdrv_find_format("qcow2"); |
403 | 403 |
options = parse_option_parameters("", bdrv_qcow2->create_options, NULL); |
Also available in: Unified diff