]> git.pld-linux.org Git - packages/VirtualBox.git/blame - kernel-5.0.patch
rel 3
[packages/VirtualBox.git] / kernel-5.0.patch
CommitLineData
fd696aa5
JP
1------------------------------------------------------------------------
2r77542 | vboxsync | 2019-03-03 05:40:17 +0100 (nie, 03 mar 2019) | 1 line
3
4linux/vboxsf: MS_REMOUNT and friends moved to uapi/linux/mount.h in 5.0 (rc8), so we need to include it to use it. bugref:9172
5
6Index: src/VBox/Additions/linux/sharedfolders/vfsmod.c
7===================================================================
8--- src/VBox/Additions/linux/sharedfolders/vfsmod.c (revision 77541)
9+++ src/VBox/Additions/linux/sharedfolders/vfsmod.c (revision 77542)
10@@ -45,7 +45,9 @@
11 #include "revision-generated.h"
12 #include "product-generated.h"
13 #include "VBoxGuestR0LibInternal.h"
14-#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 3, 0)
15+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 0, 0)
16+# include <uapi/linux/mount.h> /* for MS_REMOUNT */
17+#elif LINUX_VERSION_CODE < KERNEL_VERSION(3, 3, 0)
18 # include <linux/mount.h>
19 #endif
20 #include <linux/seq_file.h>
21
22------------------------------------------------------------------------
This page took 0.034314 seconds and 4 git commands to generate.