Public bug reported:
commit 11d83360452ea2a95e699da01f8e1bcc4676a5de (mm, mempool: do not
allow atomic resizing) in Linux 4.1 changed the function prototype for
mempool_resize() by dropping the memory allocation flags parameter.
Add this code to request.c:
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 1, 0)
+ err = mempool_resize(bufs, target);
+#else
err = mempool_resize(bufs, target, GFP_KERNEL);
+#endif
Without this code the DKMS package will not build against the Wily LTS
backport kernel.
** Affects: blktap-dkms (Ubuntu)
Importance: Undecided
Status: Fix Released
** Affects: blktap-dkms (Ubuntu Trusty)
Importance: Undecided
Assignee: Tim Gardner (timg-tpi)
Status: In Progress
** Also affects: blktap-dkms (Ubuntu Trusty)
Importance: Undecided
Status: New
** Changed in: blktap-dkms (Ubuntu)
Status: New => Fix Released
** Changed in: blktap-dkms (Ubuntu Trusty)
Status: New => In Progress
** Changed in: blktap-dkms (Ubuntu Trusty)
Assignee: (unassigned) => Tim Gardner (timg-tpi)
** Description changed:
commit 11d83360452ea2a95e699da01f8e1bcc4676a5de (mm, mempool: do not
allow atomic resizing) in Linux 4.1 changed the function prototype for
mempool_resize() by dropping the memory allocation flags parameter.
Add this code to request.c:
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 1, 0)
+ err = mempool_resize(bufs, target);
+#else
- err = mempool_resize(bufs, target, GFP_KERNEL);
+ err = mempool_resize(bufs, target, GFP_KERNEL);
+#endif
+
+ Without this code the DKMS package will not build against the Wily LTS
+ backport kernel.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1477718
Title:
blktap-dkms FTBS on kernels >= 4.1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/blktap-dkms/+bug/1477718/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs