]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
qcow2: Correct comment for realloc_refcount_block()
authorMax Reitz <mreitz@redhat.com>
Mon, 17 Mar 2014 22:04:51 +0000 (23:04 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 19 Mar 2014 08:39:41 +0000 (09:39 +0100)
commit8a15b813e6034856d4177c6ab242791795434c15
tree36ba182e275819e4ce418dd00f27a9c22960edfb
parentd208cc353a2860dc9614ba651439713e4ecdf9d3
qcow2: Correct comment for realloc_refcount_block()

Contrary to the comment describing this function's behavior, it does not
return 0 on success, but rather the offset of the newly allocated
cluster. This patch adjusts the comment accordingly to reflect the
actual behavior.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2-refcount.c