summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
authorKaushal M <kaushal@redhat.com>2012-04-02 13:00:47 +0530
committerVijay Bellur <vijay@gluster.com>2012-04-02 02:41:18 -0700
commite51f690d7c5eda400316ba97ab2f4ce448b51e7d (patch)
treed02b569563fb8a171b621f8c7a9e0eccc5e67557 /libglusterfs/src
parent0f3b55be4376c1c59131d999469d3b3c6aaddd87 (diff)
glusterd: Include port in nfs status
Change-Id: I679e491e801b694e8a0f93dd87cf540441dae927 BUG: 806877 Signed-off-by: Kaushal M <kaushal@redhat.com> Reviewed-on: http://review.gluster.com/3060 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'libglusterfs/src')
-rw-r--r--libglusterfs/src/common-utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h
index 335517799..3aa0143d2 100644
--- a/libglusterfs/src/common-utils.h
+++ b/libglusterfs/src/common-utils.h
@@ -81,6 +81,11 @@ void trap (void);
!strcmp (fs_name, "ext3") || \
!strcmp (fs_name, "ext4"))
+/* Defining this here as it is needed by glusterd for setting
+ * nfs port in volume status.
+ */
+#define GF_NFS3_PORT 38467
+
enum _gf_boolean
{
_gf_false = 0,