[sheepdog] [PATCH v1] Fix comment errors

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Thu Jul 24 09:13:24 CEST 2014


At Thu, 24 Jul 2014 12:52:20 +0800,
nkuzbp wrote:
> 
> From: root <root at localhost.localdomain>
> 
> Signed-off-by: Bingpeng Zhu <nkuzbp at foxmail.com>
> ---
>  include/rbtree.h |    2 +-
>  lib/sd_inode.c   |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.
Hitoshi

> 
> diff --git a/include/rbtree.h b/include/rbtree.h
> index 6aba6ad..7354d22 100644
> --- a/include/rbtree.h
> +++ b/include/rbtree.h
> @@ -3,7 +3,7 @@
>  
>  #include "compiler.h"
>  
> -/* We have to be 64-bytes aligned to get 32/64 bits compatibility */
> +/* We have to be 8-bytes aligned to get 32/64 bits compatibility */
>  struct rb_node {
>  	unsigned long  rb_parent_color __attribute__ ((aligned (8)));
>  #define RB_RED          0
> diff --git a/lib/sd_inode.c b/lib/sd_inode.c
> index 5056843..f39fae4 100644
> --- a/lib/sd_inode.c
> +++ b/lib/sd_inode.c
> @@ -70,7 +70,7 @@
>   *                         +-------+    +-------+    +-------+
>   *
>   *
> - * We now only support tow levels, which support up to:
> + * We now only support two levels, which support up to:
>   *
>   *  (nr of sd_indirect_idx in root node) * (nr of sd_index in indirect node)
>   *
> -- 
> 1.7.1
> 
> -- 
> sheepdog mailing list
> sheepdog at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/sheepdog



More information about the sheepdog mailing list