diff options
author | Atin Mukherjee <amukherj@redhat.com> | 2014-04-30 11:12:40 +0530 |
---|---|---|
committer | Kaushal M <kaushal@redhat.com> | 2014-05-12 04:37:03 -0700 |
commit | e64dd0a358e7a7b4c0da86a6b17adf6f125c00d5 (patch) | |
tree | 36db6dd9895651c827f36f3cb7943426c2672fe2 /xlators/mgmt/glusterd/src/glusterd-utils.h | |
parent | 4f905163211f8d439c6e102d3ffd1bffb34f5c26 (diff) |
glusterd : barrier enable/disable should fail if already enabled/disabled
In barrier notify function, if we fail to set the barrier option execution goes
to default_notify which returns 0 and command returns success.
Fix : We need not call the default_notify function when handling
GF_EVENT_TRANSLATOR_OP in barrier xlator's notify.
Change-Id: Ia2c361b43cca7791c29829d69dcd6fc7923102f6
BUG: 1092841
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Reviewed-on: http://review.gluster.org/7609
Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Sachin Pandit <spandit@redhat.com>
Reviewed-by: Kaushal M <kaushal@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.h')
0 files changed, 0 insertions, 0 deletions