Revision 647cc472 block/qcow2-snapshot.c
b/block/qcow2-snapshot.c | ||
---|---|---|
331 | 331 |
|
332 | 332 |
/* Check that the ID is unique */ |
333 | 333 |
if (find_snapshot_by_id(bs, sn_info->id_str) >= 0) { |
334 |
return -ENOENT;
|
|
334 |
return -EEXIST;
|
|
335 | 335 |
} |
336 | 336 |
|
337 | 337 |
/* Populate sn with passed data */ |
Also available in: Unified diff