From: root <[email protected]>
Signed-off-by: Bingpeng Zhu <[email protected]>
---
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
--
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog