diff options
Diffstat (limited to 'recipes-extended/glusterfs/files/0001-cli-duplicate-defns-of-cli_default_conn_timeout-and-.patch')
-rw-r--r-- | recipes-extended/glusterfs/files/0001-cli-duplicate-defns-of-cli_default_conn_timeout-and-.patch | 28 |
1 files changed, 5 insertions, 23 deletions
diff --git a/recipes-extended/glusterfs/files/0001-cli-duplicate-defns-of-cli_default_conn_timeout-and-.patch b/recipes-extended/glusterfs/files/0001-cli-duplicate-defns-of-cli_default_conn_timeout-and-.patch index 79a55b3..1cdccf9 100644 --- a/recipes-extended/glusterfs/files/0001-cli-duplicate-defns-of-cli_default_conn_timeout-and-.patch +++ b/recipes-extended/glusterfs/files/0001-cli-duplicate-defns-of-cli_default_conn_timeout-and-.patch | |||
@@ -72,11 +72,11 @@ Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | |||
72 | cli/src/cli.h | 4 ++-- | 72 | cli/src/cli.h | 4 ++-- |
73 | 2 files changed, 5 insertions(+), 2 deletions(-) | 73 | 2 files changed, 5 insertions(+), 2 deletions(-) |
74 | 74 | ||
75 | diff --git a/cli/src/cli.c b/cli/src/cli.c | 75 | Index: glusterfs-11.1/cli/src/cli.c |
76 | index cb425c84b..2c96b7ae6 100644 | 76 | =================================================================== |
77 | --- a/cli/src/cli.c | 77 | --- glusterfs-11.1.orig/cli/src/cli.c |
78 | +++ b/cli/src/cli.c | 78 | +++ glusterfs-11.1/cli/src/cli.c |
79 | @@ -84,6 +84,9 @@ rpc_clnt_prog_t *cli_rpc_prog; | 79 | @@ -65,6 +65,9 @@ |
80 | 80 | ||
81 | extern struct rpc_clnt_program cli_prog; | 81 | extern struct rpc_clnt_program cli_prog; |
82 | 82 | ||
@@ -86,21 +86,3 @@ index cb425c84b..2c96b7ae6 100644 | |||
86 | static int | 86 | static int |
87 | glusterfs_ctx_defaults_init(glusterfs_ctx_t *ctx) | 87 | glusterfs_ctx_defaults_init(glusterfs_ctx_t *ctx) |
88 | { | 88 | { |
89 | diff --git a/cli/src/cli.h b/cli/src/cli.h | ||
90 | index 81f75a0b4..cd4db3dac 100644 | ||
91 | --- a/cli/src/cli.h | ||
92 | +++ b/cli/src/cli.h | ||
93 | @@ -40,8 +40,8 @@ enum argp_option_keys { | ||
94 | ARGP_PORT_KEY = 'p', | ||
95 | }; | ||
96 | |||
97 | -int cli_default_conn_timeout; | ||
98 | -int cli_ten_minutes_timeout; | ||
99 | +extern int cli_default_conn_timeout; | ||
100 | +extern int cli_ten_minutes_timeout; | ||
101 | |||
102 | typedef enum { | ||
103 | COLD_BRICK_COUNT, | ||
104 | -- | ||
105 | 2.21.0 | ||
106 | |||