gluster.c (aaffb853359829a37daaf883c773e8320b55c723) gluster.c (b92902dfeaafbceaf744ab7473f2d070284f6172)
1/*
2 * GlusterFS backend for QEMU
3 *
4 * Copyright (C) 2012 Bharata B Rao <bharata@linux.vnet.ibm.com>
5 *
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 *

--- 1116 unchanged lines hidden (view full) ---

1125 if (glfs_close(fd) != 0 && ret == 0) {
1126 ret = -errno;
1127 }
1128 }
1129 glfs_clear_preopened(glfs);
1130 return ret;
1131}
1132
1/*
2 * GlusterFS backend for QEMU
3 *
4 * Copyright (C) 2012 Bharata B Rao <bharata@linux.vnet.ibm.com>
5 *
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 *

--- 1116 unchanged lines hidden (view full) ---

1125 if (glfs_close(fd) != 0 && ret == 0) {
1126 ret = -errno;
1127 }
1128 }
1129 glfs_clear_preopened(glfs);
1130 return ret;
1131}
1132
1133static int coroutine_fn qemu_gluster_co_create_opts(const char *filename,
1133static int coroutine_fn qemu_gluster_co_create_opts(BlockDriver *drv,
1134 const char *filename,
1134 QemuOpts *opts,
1135 Error **errp)
1136{
1137 BlockdevCreateOptions *options;
1138 BlockdevCreateOptionsGluster *gopts;
1139 BlockdevOptionsGluster *gconf;
1140 char *tmp = NULL;
1141 Error *local_err = NULL;

--- 553 unchanged lines hidden ---
1135 QemuOpts *opts,
1136 Error **errp)
1137{
1138 BlockdevCreateOptions *options;
1139 BlockdevCreateOptionsGluster *gopts;
1140 BlockdevOptionsGluster *gconf;
1141 char *tmp = NULL;
1142 Error *local_err = NULL;

--- 553 unchanged lines hidden ---