diff options
author | Anand <anekkunt@redhat.com> | 2015-01-09 14:24:08 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-02-04 07:43:07 -0800 |
commit | 3a332a834aac3f3a931b31dcaabe34901b309d6c (patch) | |
tree | c92ac897fd6500812b61adcf590d35d3a7ea9d81 /libglusterfs/src/globals.h | |
parent | ea6a31cd7c430768b8dfd3b4944fffde0be3a740 (diff) |
libglusterfs : Corrected functions calls.
Problem : There was mismatch between arguments and parameters in some functions
(ex:glusterfs_uuid_buf_get,glusterfs_lkowner_buf_get). It could lead to stack overflow issues .
Fix : Arguments are removed during calling these function.
Change-Id: Icb41bd4119502d192d9cc7242d385ebe62cdb51a
BUG: 1180424
Signed-off-by: Anand <anekkunt@redhat.com>
Reviewed-on: http://review.gluster.org/9427
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Gaurav Kumar Garg <ggarg@redhat.com>
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'libglusterfs/src/globals.h')
-rw-r--r-- | libglusterfs/src/globals.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libglusterfs/src/globals.h b/libglusterfs/src/globals.h index ce1c64475f4..b9eaf8ad131 100644 --- a/libglusterfs/src/globals.h +++ b/libglusterfs/src/globals.h @@ -63,9 +63,9 @@ void *synctask_get (); int synctask_set (void *); /* uuid_buf */ -char *glusterfs_uuid_buf_get(); +char *glusterfs_uuid_buf_get (); /* lkowner_buf */ -char *glusterfs_lkowner_buf_get(); +char *glusterfs_lkowner_buf_get (); /* init */ int glusterfs_globals_init (glusterfs_ctx_t *ctx); |