diff options
author | Kotresh H R <khiremat@redhat.com> | 2014-03-18 14:45:42 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-03-21 02:37:56 -0700 |
commit | 128863af2d7f37571583fe37424e76b46f8525d4 (patch) | |
tree | 4bd6a5bd3c9a82df853d7c49266a631de1ea0b32 /libglusterfs/src/timespec.h | |
parent | 3aeb95cfd072e06ed9dfbbb9249837da58c2e56a (diff) |
geo-rep/glusterd: Fix geo-rep status on introduction of volume lock
Getting op context in 'glusterd_op_gsync_set' is no longer
valid as it is expected that 'rsp_dict' sent from caller is
filled. It was fine till now as no one was setting the op
context. The introduction of volume locks sets it,
consequently breaking geo-rep status command. Hence the
code that gets dict from op context if present is removed.
Also corrected some indentation issues in 'glusterd_op_gsync_set'
Signed-off-by: Kotresh H R <khiremat@redhat.com>
Change-Id: Ieacd6e6c9be3c92159f849caca2acf5aabca1e32
BUG: 1077697
Signed-off-by: Kotresh H R <khiremat@redhat.com>
Reviewed-on: http://review.gluster.org/7289
Reviewed-by: Avra Sengupta <asengupt@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'libglusterfs/src/timespec.h')
0 files changed, 0 insertions, 0 deletions