[Debian-ha-commits] [ocfs2-tools] 01/01: ocfs2-tools: add support for vd devices

Valentin Vidic vvidic-guest at moszumanska.debian.org
Sat Jul 9 10:26:24 UTC 2016


This is an automated email from the git hooks/post-receive script.

vvidic-guest pushed a commit to branch master
in repository ocfs2-tools.

commit 435e963f5c72ddbd9e8350ff0c5fa4b5e81c6091
Author: Valentin Vidic <Valentin.Vidic at CARNet.hr>
Date:   Sat Jul 9 12:25:23 2016 +0200

    ocfs2-tools: add support for vd devices
    
    Upstream pull request:
    https://github.com/markfasheh/ocfs2-tools/pull/3
---
 debian/patches/o2cb-ctl-virtio.patch | 11 +++++++++++
 debian/patches/series                |  1 +
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/o2cb-ctl-virtio.patch b/debian/patches/o2cb-ctl-virtio.patch
new file mode 100644
index 0000000..89087e3
--- /dev/null
+++ b/debian/patches/o2cb-ctl-virtio.patch
@@ -0,0 +1,11 @@
+--- a/o2cb_ctl/o2cb_scandisk.c
++++ b/o2cb_ctl/o2cb_scandisk.c
+@@ -130,6 +130,8 @@
+ 				add = !strncmp(path->path, "/dev/loop", 9);
+ 			if (!add)
+ 				add = !strncmp(path->path, "/dev/xvd", 8);
++			if (!add)
++				add = !strncmp(path->path, "/dev/vd", 7);
+ 		}
+ 		if (add) {
+ 			hb = malloc(sizeof(struct hb_devices));
diff --git a/debian/patches/series b/debian/patches/series
index e0e8786..990ec0a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ libo2dlm-dlopen-libdlm_lt.patch
 ocfs2-init-script.patch
 o2cb-init-script.patch
 ocfs2-udev-rule.patch
+o2cb-ctl-virtio.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/ocfs2-tools.git



More information about the Debian-HA-Commits mailing list