提交 125dbad3 编写于 作者: C Cole Robinson

storagefile: Rename qcow2GetBackingStoreFormat

...to qcow2GetExtensions. We will extend it for more extension
parsing in future patches
Reviewed-by: NDaniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
Signed-off-by: NCole Robinson <crobinso@redhat.com>
上级 16fffd82
......@@ -427,9 +427,9 @@ cowGetBackingStore(char **res,
static int
qcow2GetBackingStoreFormat(int *format,
const char *buf,
size_t buf_size)
qcow2GetExtensions(int *format,
const char *buf,
size_t buf_size)
{
size_t offset;
size_t extension_start;
......@@ -561,7 +561,7 @@ qcowXGetBackingStore(char **res,
memcpy(*res, buf + offset, size);
(*res)[size] = '\0';
if (qcow2GetBackingStoreFormat(format, buf, buf_size) < 0)
if (qcow2GetExtensions(format, buf, buf_size) < 0)
return BACKING_STORE_INVALID;
return BACKING_STORE_OK;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册