summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/dict.h
diff options
context:
space:
mode:
authorHumble Devassy Chirammal <hchiramm@redhat.com>2015-03-20 18:57:52 +0530
committerKaleb KEITHLEY <kkeithle@redhat.com>2015-03-30 05:31:34 -0700
commit299f6ce2b17216a6c09d5345139b9a78f7505b24 (patch)
tree9be7929ddc9618a975d4ed3c341957f25d926150 /libglusterfs/src/dict.h
parentb247ff4b297481148ab2fe4c7b832aac85f6ad72 (diff)
libgfapi: revamp glfs_new function
Current glfs_new() function is not flexible enough to error out and destroy the struct members or objects initialized just before the error path/condition. This make the structs or objects to continue or left out with partially recorded data in fs and ctx structs and cause crashes/issues later in the code path. This patch avoid the issue. Change-Id: Ie4514b82b24723a46681cc7832a08870afc0cb28 BUG: 1202492 Signed-off-by: Humble Devassy Chirammal <hchiramm@redhat.com> Reviewed-on: http://review.gluster.org/9903 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Poornima G <pgurusid@redhat.com> Reviewed-by: soumya k <skoduri@redhat.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'libglusterfs/src/dict.h')
0 files changed, 0 insertions, 0 deletions