diff options
| author | Yaniv Kaul <ykaul@redhat.com> | 2018-07-16 17:03:17 +0300 |
|---|---|---|
| committer | Amar Tumballi <amarts@redhat.com> | 2018-07-22 14:40:16 +0000 |
| commit | 621138ce763eda8270d0a4f6d7209fd50ada8787 (patch) | |
| tree | 7299759993f6e9f7f34dad95fc8d8cd6ffc1b2fd /libglusterfs/src/gfdb/gfdb_data_store.c | |
| parent | c0e76377d0fc47aa66f35ea70a4793731ebbd40c (diff) | |
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 <ykaul@redhat.com>
Diffstat (limited to 'libglusterfs/src/gfdb/gfdb_data_store.c')
| -rw-r--r-- | libglusterfs/src/gfdb/gfdb_data_store.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libglusterfs/src/gfdb/gfdb_data_store.c b/libglusterfs/src/gfdb/gfdb_data_store.c index 8ba7606012a..78fd22ee252 100644 --- a/libglusterfs/src/gfdb/gfdb_data_store.c +++ b/libglusterfs/src/gfdb/gfdb_data_store.c @@ -115,7 +115,7 @@ add_connection_node (gfdb_conn_node_t *_conn_node) { /*TODO What if the unlock fails. * Will it lead to deadlock? * Most of the gluster code - * no check for unlock or destory of mutex!*/ + * no check for unlock or destroy of mutex!*/ } ret = 0; out: @@ -163,7 +163,7 @@ delete_conn_node (gfdb_conn_node_t *_conn_node) /*TODO What if the unlock fails. * Will it lead to deadlock? * Most of the gluster code - * no check for unlock or destory of mutex!*/ + * no check for unlock or destroy of mutex!*/ ret = -1; goto out; } @@ -241,7 +241,7 @@ init_db (dict_t *args, gfdb_db_type_t gfdb_db_type) goto alloc_failed; } - /*Init the list component of db conneciton object*/ + /*Init the list component of db connection object*/ INIT_LIST_HEAD (&_conn_node->conn_list); @@ -355,7 +355,7 @@ out: * link of inode from GF_FLINK_TB and * GFDB_FOP_UNDEL_ALL to delete all the records from * GF_FLINK_TB and GF_FILE_TB. - * TODO: Should seperate this function into the + * TODO: Should separate this function into the * delete_record function * Refer CTR Xlator features/changetimerecorder for usage * Arguments: @@ -756,7 +756,7 @@ clear_files_heat (gfdb_conn_node_t *conn_node) * 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 * */ |
