summaryrefslogtreecommitdiffstats
path: root/glusterfsd/src
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2010-07-23 01:02:01 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-07-23 00:00:23 -0700
commitb12d471100bd7ade9b3a6c0d917e0416f1b62e9b (patch)
treef8757754fa2003b7afd76e3f51b26936710c0b8e /glusterfsd/src
parentbe4dee16c18e262b168c74face54cf17ca13e2f4 (diff)
glusterfsd: fix bug in GETSPEC which would result in loading of -f volfile
Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'glusterfsd/src')
-rw-r--r--glusterfsd/src/glusterfsd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c
index bf6959e34cf..30057b5dbec 100644
--- a/glusterfsd/src/glusterfsd.c
+++ b/glusterfsd/src/glusterfsd.c
@@ -1203,8 +1203,7 @@ glusterfs_volumes_init (glusterfs_ctx_t *ctx)
if (cmd_args->volfile_server) {
ret = glusterfs_mgmt_init (ctx);
- if (ret)
- goto out;
+ goto out;
}
fp = get_volfp (ctx);