Patchwork docs: fix one issue in qcow2 specs

login
register
mail settings
Submitter Zhiyong Wu
Date April 24, 2012, 7:11 a.m.
Message ID <1335251487-27213-1-git-send-email-zwu.kernel@gmail.com>
Download mbox | patch
Permalink /patch/154616/
State New
Headers show

Comments

Zhiyong Wu - April 24, 2012, 7:11 a.m.
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(-)
Kevin Wolf - April 24, 2012, 7:58 a.m.
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

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!