From 621138ce763eda8270d0a4f6d7209fd50ada8787 Mon Sep 17 00:00:00 2001 From: Yaniv Kaul Date: Mon, 16 Jul 2018 17:03:17 +0300 Subject: All: run codespell on the code and fix issues. Please review, it's not always just the comments that were fixed. I've had to revert of course all calls to creat() that were changed to create() ... Only compile-tested! Change-Id: I7d02e82d9766e272a7fd9cc68e51901d69e5aab5 updates: bz#1193929 Signed-off-by: Yaniv Kaul --- libglusterfs/src/gfdb/gfdb_sqlite3.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libglusterfs/src/gfdb/gfdb_sqlite3.h') diff --git a/libglusterfs/src/gfdb/gfdb_sqlite3.h b/libglusterfs/src/gfdb/gfdb_sqlite3.h index 5b55b0ace5e..11bf3e82707 100644 --- a/libglusterfs/src/gfdb/gfdb_sqlite3.h +++ b/libglusterfs/src/gfdb/gfdb_sqlite3.h @@ -229,7 +229,7 @@ gfdb_set_sql_params(char *comp_name, dict_t *from_dict, dict_t *to_dict) GF_ASSERT (from_dict); GF_ASSERT (to_dict); - /*Extact and Set of the sql params from page_size*/ + /*Extract and Set of the sql params from page_size*/ for (sql_index = sql_pagesize_ix; sql_index < sql_index_max; sql_index++) { _val_str = NULL; @@ -292,7 +292,7 @@ int gf_sqlite3_clear_files_heat (void *db_conn); * this variable. The freeing of the memory should be done by * the caller. * Return: - * On success return the lenght of the version string that is + * On success return the length of the version string that is * extracted. * On failure return -1 * */ @@ -306,7 +306,7 @@ int gf_sqlite3_version (void *db_conn, char **version); * extracted. This function will allocate memory * to pragma_value. The caller should free the memory * Return: - * On success return the lenght of the pragma/setting value that is + * On success return the length of the pragma/setting value that is * extracted. * On failure return -1 * */ @@ -328,7 +328,7 @@ gf_sqlite3_set_pragma (void *db_conn, char *pragma_key, char *pragma_value); * Input: * void *db_conn : Sqlite connection * gf_boolean_t compact_active : Is compaction on? - * gf_boolean_t compact_mode_switched : Did we just flip the compaction swtich? + * gf_boolean_t compact_mode_switched : Did we just flip the compaction switch? * Return: * On success return 0 * On failure return -1 -- cgit