summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libglusterfs/src/common-utils.h7
-rw-r--r--xlators/features/changetimerecorder/src/ctr-helper.h2
2 files changed, 4 insertions, 5 deletions
diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h
index 58889ca9a5c..a35ea16b972 100644
--- a/libglusterfs/src/common-utils.h
+++ b/libglusterfs/src/common-utils.h
@@ -117,10 +117,9 @@ enum _gf_boolean
* we could have initialized these as +ve values and treated
* them as negative while comparing etc.. (which would have
* saved us with the pain of assigning values), but since we
- * only have a couple of clients that use this feature, it's
- * okay.
+ * only have a few clients that use this feature, it's okay.
*/
-enum _gf_client_pid
+enum _gf_special_pid
{
GF_CLIENT_PID_MAX = 0,
GF_CLIENT_PID_GSYNCD = -1,
@@ -141,7 +140,7 @@ enum _gf_xlator_ipc_targets {
};
typedef enum _gf_boolean gf_boolean_t;
-typedef enum _gf_client_pid gf_client_pid_t;
+typedef enum _gf_special_pid gf_special_pid_t;
typedef enum _gf_xlator_ipc_targets _gf_xlator_ipc_targets_t;
/* The DHT file rename operation is not a straightforward rename.
diff --git a/xlators/features/changetimerecorder/src/ctr-helper.h b/xlators/features/changetimerecorder/src/ctr-helper.h
index 486b9452eb4..d5615270184 100644
--- a/xlators/features/changetimerecorder/src/ctr-helper.h
+++ b/xlators/features/changetimerecorder/src/ctr-helper.h
@@ -79,7 +79,7 @@ typedef struct gf_ctr_local {
gfdb_db_record_t gfdb_db_record;
ia_type_t ia_inode_type;
gf_boolean_t is_internal_fop;
- gf_client_pid_t client_pid;
+ gf_special_pid_t client_pid;
} gf_ctr_local_t;
/*
* Easy access of gfdb_db_record of ctr_local