[sheepdog] [PATCH 02/10] include: fix typo
Ruoyu
liangry at ucweb.com
Tue Aug 5 09:30:23 CEST 2014
Signed-off-by: Ruoyu <liangry at ucweb.com>
---
include/internal_proto.h | 2 +-
include/logger.h | 2 +-
include/sheepdog_proto.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/internal_proto.h b/include/internal_proto.h
index 5a9d2b1..5a1f6c0 100644
--- a/include/internal_proto.h
+++ b/include/internal_proto.h
@@ -258,7 +258,7 @@ static inline __attribute__((used)) void __sd_epoch_format_build_bug_ons(void)
enum rw_state {
RW_PREPARE_LIST, /* the recovery thread is preparing object list */
- RW_RECOVER_OBJ, /* the thread is recoering objects */
+ RW_RECOVER_OBJ, /* the thread is recovering objects */
RW_NOTIFY_COMPLETION, /* the thread is notifying recovery completion */
};
diff --git a/include/logger.h b/include/logger.h
index 51525d5..f360342 100644
--- a/include/logger.h
+++ b/include/logger.h
@@ -53,7 +53,7 @@ void get_thread_name(char *name);
int __sd_dump_variable(const char *var);
void sd_backtrace(void);
-/* sheep log priorities, comliant with syslog spec */
+/* sheep log priorities, compliant with syslog spec */
#define SDOG_EMERG LOG_EMERG
#define SDOG_ALERT LOG_ALERT
#define SDOG_CRIT LOG_CRIT
diff --git a/include/sheepdog_proto.h b/include/sheepdog_proto.h
index d21e7a0..292b83a 100644
--- a/include/sheepdog_proto.h
+++ b/include/sheepdog_proto.h
@@ -93,7 +93,7 @@
* 0 - 31 (32 bits): data object space
* 32 - 55 (24 bits): VDI object space
* 56 - 59 ( 4 bits): reserved VDI object space
- * 60 - 63 ( 4 bits): object type indentifier space
+ * 60 - 63 ( 4 bits): object type identifier space
*/
#define VDI_SPACE_SHIFT 32
--
1.8.3.2
More information about the sheepdog
mailing list