--- virtualbox-5.0.16-dfsg.orig/src/VBox/Additions/linux/sharedfolders/regops.c
+++ virtualbox-5.0.16-dfsg/src/VBox/Additions/linux/sharedfolders/regops.c
@@ -712,7 +712,11 @@ int sf_write_end(struct file *file, stru
     }

     unlock_page(page);
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 6, 0)
+    put_page(page);
+#else
     page_cache_release(page);
+#endif

     return nwritten;
 }


ongoing in the next update.

** Changed in: virtualbox (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570167

Title:
  virtualbox-guest-dkms 5.0.14-dfsg-0ubuntu1.15.10.1: virtualbox-guest
  kernel module failed to build for kernel 4.6 [error: implicit
  declaration of function ‘page_cache_release’]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1570167/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to