summaryrefslogtreecommitdiffstats
path: root/xlators/nfs/server/src/mount3.h
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2010-11-15 05:57:46 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-11-15 04:03:55 -0800
commit553c15160e4e3b063f4b689ee762b6d14be9953b (patch)
treec4395c5a289104551487292ad1f2351787023c74 /xlators/nfs/server/src/mount3.h
parent78654d270cde028c5d7f9da29b2790b90c19e11f (diff)
Revert "nfs: Use only 38467 as default port instead of 3846[567]"
This reverts commit be5c02a81c19336a6b922b1e1f28293c90955e7f. By default, continue to register the three original port numbers so that an upgrade to future version from 3.1 release does not break mount requests against portmap, which may have old port numbers registered. 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/nfs/server/src/mount3.h')
-rw-r--r--xlators/nfs/server/src/mount3.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/nfs/server/src/mount3.h b/xlators/nfs/server/src/mount3.h
index d8a3f33a7de..d4d6d446fc6 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 GF_NFS_DEFAULT_PORT
+#define GF_MOUNTV3_PORT 38465
#define GF_MOUNTV3_IOB (2 * GF_UNIT_KB)
#define GF_MOUNTV3_IOBPOOL (GF_MOUNTV3_IOB * 50)
-#define GF_MOUNTV1_PORT GF_NFS_DEFAULT_PORT
+#define GF_MOUNTV1_PORT 38466
#define GF_MNT GF_NFS"-mount"
extern rpcsvc_program_t *