diff options
author | Pranith Kumar K <pranithk@gluster.com> | 2012-09-27 01:32:45 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-09-26 13:43:05 -0700 |
commit | 2c04db460276c9de666d7ddaffc031492a7de867 (patch) | |
tree | fc84e6863d784c8317e289e3d8dd200f8dbcddd4 /xlators/storage/posix | |
parent | bc2b5977a52baff96ffd69b118967a82d5933555 (diff) |
mgmt/glusterd: Prevent extra unref in vol start
Problem:
Volume start cli handler does dict_unref of the dict
unconditionally. It needs to be unrefed only on failure.
Fix:
Unref the dict only on failure.
Tests:
Volume start works fine after the fix.
Change-Id: I64e5ad3d48f69545dd5e1132672182732b98c466
BUG: 860833
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Reviewed-on: http://review.gluster.org/4001
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/storage/posix')
0 files changed, 0 insertions, 0 deletions