diff options
author | Jonathan Bauer | 2020-01-24 14:47:12 +0100 |
---|---|---|
committer | Jonathan Bauer | 2020-05-19 13:10:56 +0200 |
commit | 80d050f82e80fe76e3cbde9448bf9d4c27eea613 (patch) | |
tree | 1c26d86a166907d077b5eba77f89d0c15e9e3d1e /patches | |
parent | [slx-dmsetup] fallback to RAMdisk pool metadata (diff) | |
download | systemd-init-80d050f82e80fe76e3cbde9448bf9d4c27eea613.tar.gz systemd-init-80d050f82e80fe76e3cbde9448bf9d4c27eea613.tar.xz systemd-init-80d050f82e80fe76e3cbde9448bf9d4c27eea613.zip |
patches: backport workaround for dnbd3 in centos
Diffstat (limited to 'patches')
-rw-r--r-- | patches/dnbd3/01-fix_blk_h.patch | 13 |
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 + |