diff options
author | Dan Lambright <dlambrig@redhat.com> | 2016-05-11 13:51:57 -0400 |
---|---|---|
committer | Dan Lambright <dlambrig@redhat.com> | 2016-05-13 11:01:31 -0700 |
commit | 93dd9a34e9cad915ba0f99ac1cc383fc4ec129ff (patch) | |
tree | 0c2bbf080fcb7b848479d6ad8b13ee1b216a3371 /libglusterfs/src/refcount.c | |
parent | ff7f6fc82cfe3a6af4bf3f339c31843a0e9c9b28 (diff) |
cluster/tier: return -1 to cli on detach commit when detach unfinished
If we try to commit a detach tier before it is finished, we should
flag an error. This patch adds a return value -1 for this case to
be propagated back to the CLI.
Change-Id: I619dbe662b2fd06ebdd97702b2d223560017db51
BUG: 1335792
Signed-off-by: Dan Lambright <dlambrig@redhat.com>
Reviewed-on: http://review.gluster.org/14327
Smoke: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'libglusterfs/src/refcount.c')
0 files changed, 0 insertions, 0 deletions