diff mbox

docs: fix one issue in qcow2 specs

Message ID 1335251487-27213-1-git-send-email-zwu.kernel@gmail.com
State New
Headers show

Commit Message

Zhiyong Wu April 24, 2012, 7:11 a.m. UTC
From: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>

Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
---
 docs/specs/qcow2.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Kevin Wolf April 24, 2012, 7:58 a.m. UTC | #1
Am 24.04.2012 09:11, schrieb zwu.kernel@gmail.com:
> From: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
> 
> Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
> ---
>  docs/specs/qcow2.txt |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/docs/specs/qcow2.txt b/docs/specs/qcow2.txt
> index b6adcad..ae68a6e 100644
> --- a/docs/specs/qcow2.txt
> +++ b/docs/specs/qcow2.txt
> @@ -185,7 +185,7 @@ L2 table entry (for normal clusters):
>                      in L2 tables that are reachable from the the active L1
>                      table.
>  
> -L2 table entry (for compressed clusters; x = 62 - (cluster_size - 8)):
> +L2 table entry (for compressed clusters; x = 62 - (cluster_bits - 8)):
>  
>      Bit  0 -  x:    Host cluster offset. This is usually _not_ aligned to a
>                      cluster boundary!

Good catch! Thanks, applied to the block branch.

Kevin
diff mbox

Patch

diff --git a/docs/specs/qcow2.txt b/docs/specs/qcow2.txt
index b6adcad..ae68a6e 100644
--- a/docs/specs/qcow2.txt
+++ b/docs/specs/qcow2.txt
@@ -185,7 +185,7 @@  L2 table entry (for normal clusters):
                     in L2 tables that are reachable from the the active L1
                     table.
 
-L2 table entry (for compressed clusters; x = 62 - (cluster_size - 8)):
+L2 table entry (for compressed clusters; x = 62 - (cluster_bits - 8)):
 
     Bit  0 -  x:    Host cluster offset. This is usually _not_ aligned to a
                     cluster boundary!