diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2010-11-08 06:25:17 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-11-09 02:11:59 -0800 |
commit | be5c02a81c19336a6b922b1e1f28293c90955e7f (patch) | |
tree | 22deafb00da42f17a39ae202157df52676012f33 /xlators | |
parent | 0f9ec3dec9d51ac5a8f692896d0724b3e87e9ae2 (diff) |
nfs: Use only 38467 as default port instead of 3846[567]
Signed-off-by: Shehjar Tikoo <shehjart@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1743 (XenServer is not compatible with GlusterNFS)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1743
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/nfs/server/src/mount3.h | 4 | ||||
-rw-r--r-- | xlators/nfs/server/src/nfs.h | 1 | ||||
-rw-r--r-- | xlators/nfs/server/src/nfs3.h | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/xlators/nfs/server/src/mount3.h b/xlators/nfs/server/src/mount3.h index d4d6d446fc6..d8a3f33a7de 100644 --- a/xlators/nfs/server/src/mount3.h +++ b/xlators/nfs/server/src/mount3.h @@ -37,11 +37,11 @@ #include "uuid.h" /* Registered with portmap */ -#define GF_MOUNTV3_PORT 38465 +#define GF_MOUNTV3_PORT GF_NFS_DEFAULT_PORT #define GF_MOUNTV3_IOB (2 * GF_UNIT_KB) #define GF_MOUNTV3_IOBPOOL (GF_MOUNTV3_IOB * 50) -#define GF_MOUNTV1_PORT 38466 +#define GF_MOUNTV1_PORT GF_NFS_DEFAULT_PORT #define GF_MNT GF_NFS"-mount" extern rpcsvc_program_t * diff --git a/xlators/nfs/server/src/nfs.h b/xlators/nfs/server/src/nfs.h index b6a1d4a46d3..8cbcf63bb2d 100644 --- a/xlators/nfs/server/src/nfs.h +++ b/xlators/nfs/server/src/nfs.h @@ -44,6 +44,7 @@ #define GF_NFS_DVM_ON 1 #define GF_NFS_DVM_OFF 2 +#define GF_NFS_DEFAULT_PORT 38467 /* Callback into a version-specific NFS protocol. * The return type is used by the nfs.c code to register the protocol. diff --git a/xlators/nfs/server/src/nfs3.h b/xlators/nfs/server/src/nfs3.h index a43fdc4af28..da7ad27b750 100644 --- a/xlators/nfs/server/src/nfs3.h +++ b/xlators/nfs/server/src/nfs3.h @@ -38,7 +38,7 @@ #include <sys/statvfs.h> #define GF_NFS3 GF_NFS"-nfsv3" -#define GF_NFS3_PORT 38467 +#define GF_NFS3_PORT GF_NFS_DEFAULT_PORT #define GF_NFS3_DEFAULT_MEMFACTOR 15 #define GF_NFS3_IOBPOOL_MULT GF_NFS_CONCURRENT_OPS_MULT |