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
This commit is contained in:
Anand Avati 2010-07-23 01:02:01 +00:00 committed by Anand V. Avati
parent be4dee16c1
commit b12d471100

View File

@ -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);