| Submitter | Pranith K |
|---|---|
| Date | 2011-03-23 10:55:26 |
| Message ID | <20110323105526.GA24337@dev.gluster.com> |
| Download | mbox | patch |
| Permalink | /patch/6566/ |
| State | Accepted |
| Headers | show |
Comments
Patch
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c index 96a92f0..70d65a1 100644 --- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c +++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c @@ -2256,6 +2256,8 @@ glusterd_op_create_volume (dict_t *dict, char **op_errstr) goto out; ret = glusterd_create_volfiles (volinfo); + if (ret) + goto out; ret = glusterd_volume_compute_cksum (volinfo); if (ret)
Signed-off-by: Pranith Kumar K <pranithk@gluster.com> --- xlators/mgmt/glusterd/src/glusterd-op-sm.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)