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 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 @@ | |||
1 | From 9fdaa80b4c933e8f0e97dfde2ba25ed4cea834d5 Mon Sep 17 00:00:00 2001 | 1 | From b0c106e74beee36c20f73b956841007209a7f23c Mon Sep 17 00:00:00 2001 |
2 | From: Vu Tran <vu.tran@windriver.com> | 2 | From: "Hongzhi.Song" <hongzhi.song@windriver.com> |
3 | Date: Wed, 26 Jul 2017 08:42:09 +0800 | 3 | Date: Tue, 12 Mar 2019 19:52:03 -0700 |
4 | Subject: [PATCH] glusterfs: change default nfs port number | 4 | Subject: [PATCH] glusterfs: change default nfs port number |
5 | 5 | ||
6 | Currently both native nfs and glusterfs-nfs use NFS well | 6 | Currently both native nfs and glusterfs-nfs use NFS well |
@@ -30,21 +30,25 @@ Signed-off-by: Vu Tran <vu.tran@windriver.com> | |||
30 | Signed-off-by: Xulin Sun <xulin.sun@windriver.com> | 30 | Signed-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] |
32 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | 32 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> |
33 | 33 | [Hongzhi: minor adjust to apply the patch on v5.4] | |
34 | Signed-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 | ||
38 | diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h | 39 | diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h |
39 | index 6bd2417..25a92b0 100644 | 40 | index 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 | -- | ||
53 | 2.17.1 | ||
54 | |||