[Bugs] [Bug 1202492] Rewrite glfs_new function for better error out scenarios.
bugzilla at redhat.com
bugzilla at redhat.com
Mon Mar 30 12:31:39 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1202492
--- Comment #18 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9903 committed in master by Kaleb KEITHLEY
(kkeithle at redhat.com)
------
commit 299f6ce2b17216a6c09d5345139b9a78f7505b24
Author: Humble Devassy Chirammal <hchiramm at redhat.com>
Date: Fri Mar 20 18:57:52 2015 +0530
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 at redhat.com>
Reviewed-on: http://review.gluster.org/9903
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Poornima G <pgurusid at redhat.com>
Reviewed-by: soumya k <skoduri at redhat.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list