Displaying 2 results from an estimated 2 matches for "a83ded5e".
2019 Aug 06
1
Re: [PATCH libnbd 1/3] api: Change nbd_read_only -> nbd_is_read_only.
...tually release
the next libnbd, in case there's more tweaks to worry about in the
meantime. And we may still decide to just bump the minimum required
version in configure.ac instead of doing this hack to support both versions.
diff --git i/plugins/nbd/nbd.c w/plugins/nbd/nbd.c
index f11e54d5..a83ded5e 100644
--- i/plugins/nbd/nbd.c
+++ w/plugins/nbd/nbd.c
@@ -566,11 +566,15 @@ nbdplug_get_size (void *handle)
return size;
}
+#ifndef LIBNBD_HAVE_NBD_IS_READ_ONLY
+# define nbd_is_read_only nbd_read_only
+#endif
+
static int
nbdplug_can_write (void *handle)
{
struct handle *h = handle;
-...
2019 Aug 06
5
[PATCH libnbd 0/3] One API and small documentation changes.
One API change, some small documentation changes.