summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--patches/dnbd3/01-fix_blk_h.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/dnbd3/01-fix_blk_h.patch b/patches/dnbd3/01-fix_blk_h.patch
new file mode 100644
index 00000000..f3fc6251
--- /dev/null
+++ b/patches/dnbd3/01-fix_blk_h.patch
@@ -0,0 +1,13 @@
+diff --git a/src/kernel/blk.h b/src/kernel/blk.h
+index 5091d19..8eef9ca 100644
+--- a/src/kernel/blk.h
++++ b/src/kernel/blk.h
+@@ -23,7 +23,7 @@
+
+ #include "dnbd3.h"
+
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0)
+ #define REQ_TYPE_SPECIAL REQ_TYPE_DRV_PRIV
+ #endif
+