mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04: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 <[email protected]> Signed-off-by: Al Viro <[email protected]> Reviewed-by: David Howells <[email protected]>
This commit is contained in:
parent
26cb5a328c
commit
e262e32d6b
18 changed files with 79 additions and 51 deletions
|
|
@ -35,6 +35,7 @@
|
|||
#include <linux/fsnotify.h>
|
||||
#include <linux/lockdep.h>
|
||||
#include <linux/user_namespace.h>
|
||||
#include <uapi/linux/mount.h>
|
||||
#include "internal.h"
|
||||
|
||||
static int thaw_super_locked(struct super_block *sb);
|
||||
|
|
|
|||
Loading…
Reference in a new issue