[sheepdog] [PATCH v1] Fix comment errors
nkuzbp
nkuzbp at foxmail.com
Thu Jul 24 06:52:20 CEST 2014
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(-)
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
More information about the sheepdog
mailing list