diff options
author | Anoop C S <anoopcs@redhat.com> | 2016-04-26 19:49:34 +0530 |
---|---|---|
committer | Jeff Darcy <jdarcy@redhat.com> | 2016-04-27 05:36:08 -0700 |
commit | 2a6c6de35130328cfb6f95a6d7794dcb01b4004d (patch) | |
tree | 84ada0a30797bc78bb266e8f048c10c7a8a57e35 /libglusterfs/src | |
parent | 60cf56b1289bbf574a38a7f99f8cacb692f65474 (diff) |
Rename enum _gf_client_pid to _gf_special_pid
Till now _gf_client_pid enum has been used to define special PIDs used
by glusterfs clients like shd, quotad etc. In order to have this enum
capable of holding all other special PIDs including the one used by
trash translator, _gf_client_pid is being renamed to _gf_special_pid.
Change-Id: Id123127771f18aa55d39f335801a54810848d7bc
BUG: 1330616
Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-on: http://review.gluster.org/14083
Reviewed-by: Joseph Fernandes
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Reviewed-by: jiffin tony Thottan <jthottan@redhat.com>
Smoke: Gluster Build System <jenkins@build.gluster.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Diffstat (limited to 'libglusterfs/src')
-rw-r--r-- | libglusterfs/src/common-utils.h | 7 |
1 files changed, 3 insertions, 4 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. |