mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
vfs: Suppress MS_* flag defs within the kernel unless explicitly enabled
Only the mount namespace code that implements mount(2) should be using the MS_* flags. Suppress them inside the kernel unless uapi/linux/mount.h is included. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Reviewed-by: David Howells <dhowells@redhat.com>
This commit is contained in:
parent
26cb5a328c
commit
e262e32d6b
18 changed files with 79 additions and 51 deletions
|
@ -34,6 +34,7 @@
|
|||
#include <linux/kdebug.h>
|
||||
#include <linux/export.h>
|
||||
#include <linux/start_kernel.h>
|
||||
#include <uapi/linux/mount.h>
|
||||
|
||||
#include <asm/io.h>
|
||||
#include <asm/processor.h>
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#include <linux/module.h>
|
||||
#include <linux/start_kernel.h>
|
||||
#include <linux/memblock.h>
|
||||
#include <uapi/linux/mount.h>
|
||||
|
||||
#include <asm/io.h>
|
||||
#include <asm/processor.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue