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 | 20 |
1 files changed, 10 insertions, 10 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 e3453a2..deb9e45 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 b0c106e74beee36c20f73b956841007209a7f23c Mon Sep 17 00:00:00 2001 | 1 | From b8b48d3c4ab92ce167db8137426fad45e938b11b Mon Sep 17 00:00:00 2001 |
2 | From: "Hongzhi.Song" <hongzhi.song@windriver.com> | 2 | From: "Hongzhi.Song" <hongzhi.song@windriver.com> |
3 | Date: Tue, 12 Mar 2019 19:52:03 -0700 | 3 | Date: Wed, 24 Apr 2019 22:50:01 -0400 |
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,25 +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 | [Hongzhi: minor adjust to apply the patch on v5.4] | 33 | [Hongzhi: modify patch for release-6.1] |
34 | Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> | 34 | Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> |
35 | --- | 35 | --- |
36 | libglusterfs/src/common-utils.h | 2 +- | 36 | libglusterfs/src/glusterfs/common-utils.h | 2 +- |
37 | 1 file changed, 1 insertion(+), 1 deletion(-) | 37 | 1 file changed, 1 insertion(+), 1 deletion(-) |
38 | 38 | ||
39 | diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h | 39 | diff --git a/libglusterfs/src/glusterfs/common-utils.h b/libglusterfs/src/glusterfs/common-utils.h |
40 | index 6a6fd8c..218e379 100644 | 40 | index 0e2ecc7..59237a9 100644 |
41 | --- a/libglusterfs/src/common-utils.h | 41 | --- a/libglusterfs/src/glusterfs/common-utils.h |
42 | +++ b/libglusterfs/src/common-utils.h | 42 | +++ b/libglusterfs/src/glusterfs/common-utils.h |
43 | @@ -108,7 +108,7 @@ trap(void); | 43 | @@ -108,7 +108,7 @@ trap(void); |
44 | /* Defining this here as it is needed by glusterd for setting | 44 | /* Defining this here as it is needed by glusterd for setting |
45 | * nfs port in volume status. | 45 | * nfs port in volume status. |
46 | */ | 46 | */ |
47 | -#define GF_NFS3_PORT 2049 | 47 | -#define GF_NFS3_PORT 2049 |
48 | +#define GF_NFS3_PORT 38467 | 48 | +#define GF_NFS3_PORT 38467 |
49 | 49 | ||
50 | #define GF_CLIENT_PORT_CEILING 1024 | 50 | #define GF_CLIENT_PORT_CEILING 1024 |
51 | #define GF_IANA_PRIV_PORTS_START 49152 /* RFC 6335 */ | 51 | #define GF_IANA_PRIV_PORTS_START 49152 /* RFC 6335 */ |
52 | -- | 52 | -- |
53 | 2.17.1 | 53 | 2.8.1 |
54 | 54 | ||