summaryrefslogtreecommitdiffstats
path: root/recipes-extended/glusterfs/files/glusterfs-change-default-nfs-port-number.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/glusterfs/files/glusterfs-change-default-nfs-port-number.patch')
-rw-r--r--recipes-extended/glusterfs/files/glusterfs-change-default-nfs-port-number.patch18
1 files changed, 11 insertions, 7 deletions
diff --git a/recipes-extended/glusterfs/files/glusterfs-change-default-nfs-port-number.patch b/recipes-extended/glusterfs/files/glusterfs-change-default-nfs-port-number.patch
index 874f7de..e3453a2 100644
--- a/recipes-extended/glusterfs/files/glusterfs-change-default-nfs-port-number.patch
+++ b/recipes-extended/glusterfs/files/glusterfs-change-default-nfs-port-number.patch
@@ -1,6 +1,6 @@
1From 9fdaa80b4c933e8f0e97dfde2ba25ed4cea834d5 Mon Sep 17 00:00:00 2001 1From b0c106e74beee36c20f73b956841007209a7f23c Mon Sep 17 00:00:00 2001
2From: Vu Tran <vu.tran@windriver.com> 2From: "Hongzhi.Song" <hongzhi.song@windriver.com>
3Date: Wed, 26 Jul 2017 08:42:09 +0800 3Date: Tue, 12 Mar 2019 19:52:03 -0700
4Subject: [PATCH] glusterfs: change default nfs port number 4Subject: [PATCH] glusterfs: change default nfs port number
5 5
6Currently both native nfs and glusterfs-nfs use NFS well 6Currently both native nfs and glusterfs-nfs use NFS well
@@ -30,21 +30,25 @@ Signed-off-by: Vu Tran <vu.tran@windriver.com>
30Signed-off-by: Xulin Sun <xulin.sun@windriver.com> 30Signed-off-by: Xulin Sun <xulin.sun@windriver.com>
31[Yi: minor adjust to apply the patch on 3.11.1] 31[Yi: minor adjust to apply the patch on 3.11.1]
32Signed-off-by: Yi Zhao <yi.zhao@windriver.com> 32Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
33 33[Hongzhi: minor adjust to apply the patch on v5.4]
34Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
34--- 35---
35 libglusterfs/src/common-utils.h | 2 +- 36 libglusterfs/src/common-utils.h | 2 +-
36 1 file changed, 1 insertion(+), 1 deletion(-) 37 1 file changed, 1 insertion(+), 1 deletion(-)
37 38
38diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h 39diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h
39index 6bd2417..25a92b0 100644 40index 6a6fd8c..218e379 100644
40--- a/libglusterfs/src/common-utils.h 41--- a/libglusterfs/src/common-utils.h
41+++ b/libglusterfs/src/common-utils.h 42+++ b/libglusterfs/src/common-utils.h
42@@ -94,7 +94,7 @@ void trap (void); 43@@ -108,7 +108,7 @@ trap(void);
43 /* Defining this here as it is needed by glusterd for setting 44 /* Defining this here as it is needed by glusterd for setting
44 * nfs port in volume status. 45 * nfs port in volume status.
45 */ 46 */
46-#define GF_NFS3_PORT 2049 47-#define GF_NFS3_PORT 2049
47+#define GF_NFS3_PORT 38467 48+#define GF_NFS3_PORT 38467
48 49
49 #define GF_CLIENT_PORT_CEILING 1024 50 #define GF_CLIENT_PORT_CEILING 1024
50 #define GF_IANA_PRIV_PORTS_START 49152 /* RFC 6335 */ 51 #define GF_IANA_PRIV_PORTS_START 49152 /* RFC 6335 */
52--
532.17.1
54