diff options
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.patch | 18 |
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 874f7de6..e3453a2d 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 @@ -From 9fdaa80b4c933e8f0e97dfde2ba25ed4cea834d5 Mon Sep 17 00:00:00 2001 -From: Vu Tran <vu.tran@windriver.com> -Date: Wed, 26 Jul 2017 08:42:09 +0800 +From b0c106e74beee36c20f73b956841007209a7f23c Mon Sep 17 00:00:00 2001 +From: "Hongzhi.Song" <hongzhi.song@windriver.com> +Date: Tue, 12 Mar 2019 19:52:03 -0700 Subject: [PATCH] glusterfs: change default nfs port number Currently both native nfs and glusterfs-nfs use NFS well @@ -30,21 +30,25 @@ Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Xulin Sun <xulin.sun@windriver.com> [Yi: minor adjust to apply the patch on 3.11.1] Signed-off-by: Yi Zhao <yi.zhao@windriver.com> - +[Hongzhi: minor adjust to apply the patch on v5.4] +Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> --- libglusterfs/src/common-utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h -index 6bd2417..25a92b0 100644 +index 6a6fd8c..218e379 100644 --- a/libglusterfs/src/common-utils.h +++ b/libglusterfs/src/common-utils.h -@@ -94,7 +94,7 @@ void trap (void); +@@ -108,7 +108,7 @@ trap(void); /* Defining this here as it is needed by glusterd for setting * nfs port in volume status. */ --#define GF_NFS3_PORT 2049 +-#define GF_NFS3_PORT 2049 +#define GF_NFS3_PORT 38467 #define GF_CLIENT_PORT_CEILING 1024 #define GF_IANA_PRIV_PORTS_START 49152 /* RFC 6335 */ +-- +2.17.1 + |