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
commit 11d83360452ea2a 95e699da01f8e1b cc4676a5de (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) resize( bufs, target); resize( bufs, target, GFP_KERNEL);
+ err = mempool_
+#else
err = mempool_
+#endif