]> www.infradead.org Git - users/willy/linux.git/commit
vfs: Suppress MS_* flag defs within the kernel unless explicitly enabled
authorDavid Howells <dhowells@redhat.com>
Tue, 11 Sep 2018 21:20:53 +0000 (22:20 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 23 Oct 2018 16:38:56 +0000 (17:38 +0100)
commitaf9eb1fffa12bc2e052b1342505e65542e61e86c
treed534451d76dcd1b35c0df922911fa33a23619081
parentaf7b5bc4c7e3894398552aa26cdbbac5636107b6
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>
18 files changed:
arch/arc/kernel/setup.c
arch/arm/kernel/atags_parse.c
arch/sh/kernel/setup.c
arch/sparc/kernel/setup_32.c
arch/sparc/kernel/setup_64.c
arch/x86/kernel/setup.c
drivers/base/devtmpfs.c
fs/f2fs/super.c
fs/pnode.c
fs/super.c
include/uapi/linux/fs.h
include/uapi/linux/mount.h
init/do_mounts.c
init/do_mounts_initrd.c
security/apparmor/lsm.c
security/apparmor/mount.c
security/selinux/hooks.c
security/tomoyo/mount.c