Commit dadd2299 authored by David Howells's avatar David Howells Committed by Al Viro

Make anon_inodes unconditional

Make the anon_inodes facility unconditional so that it can be used by core
VFS code.
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 44dfd84a
...@@ -22,7 +22,6 @@ config KVM ...@@ -22,7 +22,6 @@ config KVM
bool "Kernel-based Virtual Machine (KVM) support" bool "Kernel-based Virtual Machine (KVM) support"
depends on MMU && OF depends on MMU && OF
select PREEMPT_NOTIFIERS select PREEMPT_NOTIFIERS
select ANON_INODES
select ARM_GIC select ARM_GIC
select ARM_GIC_V3 select ARM_GIC_V3
select ARM_GIC_V3_ITS select ARM_GIC_V3_ITS
......
...@@ -23,7 +23,6 @@ config KVM ...@@ -23,7 +23,6 @@ config KVM
depends on OF depends on OF
select MMU_NOTIFIER select MMU_NOTIFIER
select PREEMPT_NOTIFIERS select PREEMPT_NOTIFIERS
select ANON_INODES
select HAVE_KVM_CPU_RELAX_INTERCEPT select HAVE_KVM_CPU_RELAX_INTERCEPT
select HAVE_KVM_ARCH_TLB_FLUSH_ALL select HAVE_KVM_ARCH_TLB_FLUSH_ALL
select KVM_MMIO select KVM_MMIO
......
...@@ -21,7 +21,6 @@ config KVM ...@@ -21,7 +21,6 @@ config KVM
depends on MIPS_FP_SUPPORT depends on MIPS_FP_SUPPORT
select EXPORT_UASM select EXPORT_UASM
select PREEMPT_NOTIFIERS select PREEMPT_NOTIFIERS
select ANON_INODES
select KVM_GENERIC_DIRTYLOG_READ_PROTECT select KVM_GENERIC_DIRTYLOG_READ_PROTECT
select HAVE_KVM_VCPU_ASYNC_IOCTL select HAVE_KVM_VCPU_ASYNC_IOCTL
select KVM_MMIO select KVM_MMIO
......
...@@ -20,7 +20,6 @@ if VIRTUALIZATION ...@@ -20,7 +20,6 @@ if VIRTUALIZATION
config KVM config KVM
bool bool
select PREEMPT_NOTIFIERS select PREEMPT_NOTIFIERS
select ANON_INODES
select HAVE_KVM_EVENTFD select HAVE_KVM_EVENTFD
select HAVE_KVM_VCPU_ASYNC_IOCTL select HAVE_KVM_VCPU_ASYNC_IOCTL
select SRCU select SRCU
......
...@@ -21,7 +21,6 @@ config KVM ...@@ -21,7 +21,6 @@ config KVM
prompt "Kernel-based Virtual Machine (KVM) support" prompt "Kernel-based Virtual Machine (KVM) support"
depends on HAVE_KVM depends on HAVE_KVM
select PREEMPT_NOTIFIERS select PREEMPT_NOTIFIERS
select ANON_INODES
select HAVE_KVM_CPU_RELAX_INTERCEPT select HAVE_KVM_CPU_RELAX_INTERCEPT
select HAVE_KVM_VCPU_ASYNC_IOCTL select HAVE_KVM_VCPU_ASYNC_IOCTL
select HAVE_KVM_EVENTFD select HAVE_KVM_EVENTFD
......
...@@ -44,7 +44,6 @@ config X86 ...@@ -44,7 +44,6 @@ config X86
# #
select ACPI_LEGACY_TABLES_LOOKUP if ACPI select ACPI_LEGACY_TABLES_LOOKUP if ACPI
select ACPI_SYSTEM_POWER_STATES_SUPPORT if ACPI select ACPI_SYSTEM_POWER_STATES_SUPPORT if ACPI
select ANON_INODES
select ARCH_32BIT_OFF_T if X86_32 select ARCH_32BIT_OFF_T if X86_32
select ARCH_CLOCKSOURCE_DATA select ARCH_CLOCKSOURCE_DATA
select ARCH_CLOCKSOURCE_INIT select ARCH_CLOCKSOURCE_INIT
......
...@@ -27,7 +27,6 @@ config KVM ...@@ -27,7 +27,6 @@ config KVM
depends on X86_LOCAL_APIC depends on X86_LOCAL_APIC
select PREEMPT_NOTIFIERS select PREEMPT_NOTIFIERS
select MMU_NOTIFIER select MMU_NOTIFIER
select ANON_INODES
select HAVE_KVM_IRQCHIP select HAVE_KVM_IRQCHIP
select HAVE_KVM_IRQFD select HAVE_KVM_IRQFD
select IRQ_BYPASS_MANAGER select IRQ_BYPASS_MANAGER
......
...@@ -174,7 +174,6 @@ source "drivers/base/regmap/Kconfig" ...@@ -174,7 +174,6 @@ source "drivers/base/regmap/Kconfig"
config DMA_SHARED_BUFFER config DMA_SHARED_BUFFER
bool bool
default n default n
select ANON_INODES
select IRQ_WORK select IRQ_WORK
help help
This option enables the framework for buffer-sharing between This option enables the framework for buffer-sharing between
......
...@@ -157,7 +157,6 @@ config TCG_CRB ...@@ -157,7 +157,6 @@ config TCG_CRB
config TCG_VTPM_PROXY config TCG_VTPM_PROXY
tristate "VTPM Proxy Interface" tristate "VTPM Proxy Interface"
depends on TCG_TPM depends on TCG_TPM
select ANON_INODES
---help--- ---help---
This driver proxies for an emulated TPM (vTPM) running in userspace. This driver proxies for an emulated TPM (vTPM) running in userspace.
A device /dev/vtpmx is provided that creates a device pair A device /dev/vtpmx is provided that creates a device pair
......
...@@ -3,7 +3,6 @@ menu "DMABUF options" ...@@ -3,7 +3,6 @@ menu "DMABUF options"
config SYNC_FILE config SYNC_FILE
bool "Explicit Synchronization Framework" bool "Explicit Synchronization Framework"
default n default n
select ANON_INODES
select DMA_SHARED_BUFFER select DMA_SHARED_BUFFER
---help--- ---help---
The Sync File Framework adds explicit syncronization via The Sync File Framework adds explicit syncronization via
......
...@@ -12,7 +12,6 @@ config ARCH_HAVE_CUSTOM_GPIO_H ...@@ -12,7 +12,6 @@ config ARCH_HAVE_CUSTOM_GPIO_H
menuconfig GPIOLIB menuconfig GPIOLIB
bool "GPIO Support" bool "GPIO Support"
select ANON_INODES
help help
This enables GPIO support through the generic GPIO library. This enables GPIO support through the generic GPIO library.
You only need to enable this, if you also want to enable You only need to enable this, if you also want to enable
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
menuconfig IIO menuconfig IIO
tristate "Industrial I/O support" tristate "Industrial I/O support"
select ANON_INODES
help help
The industrial I/O subsystem provides a unified framework for The industrial I/O subsystem provides a unified framework for
drivers for many different types of embedded sensors using a drivers for many different types of embedded sensors using a
......
...@@ -25,7 +25,6 @@ config INFINIBAND_USER_MAD ...@@ -25,7 +25,6 @@ config INFINIBAND_USER_MAD
config INFINIBAND_USER_ACCESS config INFINIBAND_USER_ACCESS
tristate "InfiniBand userspace access (verbs and CM)" tristate "InfiniBand userspace access (verbs and CM)"
select ANON_INODES
depends on MMU depends on MMU
---help--- ---help---
Userspace InfiniBand access support. This enables the Userspace InfiniBand access support. This enables the
......
...@@ -22,7 +22,6 @@ menuconfig VFIO ...@@ -22,7 +22,6 @@ menuconfig VFIO
tristate "VFIO Non-Privileged userspace driver framework" tristate "VFIO Non-Privileged userspace driver framework"
depends on IOMMU_API depends on IOMMU_API
select VFIO_IOMMU_TYPE1 if (X86 || S390 || ARM || ARM64) select VFIO_IOMMU_TYPE1 if (X86 || S390 || ARM || ARM64)
select ANON_INODES
help help
VFIO provides a framework for secure userspace device drivers. VFIO provides a framework for secure userspace device drivers.
See Documentation/vfio.txt for more details. See Documentation/vfio.txt for more details.
......
...@@ -25,7 +25,7 @@ obj-$(CONFIG_PROC_FS) += proc_namespace.o ...@@ -25,7 +25,7 @@ obj-$(CONFIG_PROC_FS) += proc_namespace.o
obj-y += notify/ obj-y += notify/
obj-$(CONFIG_EPOLL) += eventpoll.o obj-$(CONFIG_EPOLL) += eventpoll.o
obj-$(CONFIG_ANON_INODES) += anon_inodes.o obj-y += anon_inodes.o
obj-$(CONFIG_SIGNALFD) += signalfd.o obj-$(CONFIG_SIGNALFD) += signalfd.o
obj-$(CONFIG_TIMERFD) += timerfd.o obj-$(CONFIG_TIMERFD) += timerfd.o
obj-$(CONFIG_EVENTFD) += eventfd.o obj-$(CONFIG_EVENTFD) += eventfd.o
......
config FANOTIFY config FANOTIFY
bool "Filesystem wide access notification" bool "Filesystem wide access notification"
select FSNOTIFY select FSNOTIFY
select ANON_INODES
select EXPORTFS select EXPORTFS
default n default n
---help--- ---help---
......
config INOTIFY_USER config INOTIFY_USER
bool "Inotify support for userspace" bool "Inotify support for userspace"
select ANON_INODES
select FSNOTIFY select FSNOTIFY
default y default y
---help--- ---help---
......
...@@ -1171,9 +1171,6 @@ config LD_DEAD_CODE_DATA_ELIMINATION ...@@ -1171,9 +1171,6 @@ config LD_DEAD_CODE_DATA_ELIMINATION
config SYSCTL config SYSCTL
bool bool
config ANON_INODES
bool
config HAVE_UID16 config HAVE_UID16
bool bool
...@@ -1378,14 +1375,12 @@ config HAVE_FUTEX_CMPXCHG ...@@ -1378,14 +1375,12 @@ config HAVE_FUTEX_CMPXCHG
config EPOLL config EPOLL
bool "Enable eventpoll support" if EXPERT bool "Enable eventpoll support" if EXPERT
default y default y
select ANON_INODES
help help
Disabling this option will cause the kernel to be built without Disabling this option will cause the kernel to be built without
support for epoll family of system calls. support for epoll family of system calls.
config SIGNALFD config SIGNALFD
bool "Enable signalfd() system call" if EXPERT bool "Enable signalfd() system call" if EXPERT
select ANON_INODES
default y default y
help help
Enable the signalfd() system call that allows to receive signals Enable the signalfd() system call that allows to receive signals
...@@ -1395,7 +1390,6 @@ config SIGNALFD ...@@ -1395,7 +1390,6 @@ config SIGNALFD
config TIMERFD config TIMERFD
bool "Enable timerfd() system call" if EXPERT bool "Enable timerfd() system call" if EXPERT
select ANON_INODES
default y default y
help help
Enable the timerfd() system call that allows to receive timer Enable the timerfd() system call that allows to receive timer
...@@ -1405,7 +1399,6 @@ config TIMERFD ...@@ -1405,7 +1399,6 @@ config TIMERFD
config EVENTFD config EVENTFD
bool "Enable eventfd() system call" if EXPERT bool "Enable eventfd() system call" if EXPERT
select ANON_INODES
default y default y
help help
Enable the eventfd() system call that allows to receive both Enable the eventfd() system call that allows to receive both
...@@ -1516,7 +1509,6 @@ config KALLSYMS_BASE_RELATIVE ...@@ -1516,7 +1509,6 @@ config KALLSYMS_BASE_RELATIVE
# syscall, maps, verifier # syscall, maps, verifier
config BPF_SYSCALL config BPF_SYSCALL
bool "Enable bpf() system call" bool "Enable bpf() system call"
select ANON_INODES
select BPF select BPF
select IRQ_WORK select IRQ_WORK
default n default n
...@@ -1533,7 +1525,6 @@ config BPF_JIT_ALWAYS_ON ...@@ -1533,7 +1525,6 @@ config BPF_JIT_ALWAYS_ON
config USERFAULTFD config USERFAULTFD
bool "Enable userfaultfd() system call" bool "Enable userfaultfd() system call"
select ANON_INODES
depends on MMU depends on MMU
help help
Enable the userfaultfd() system call that allows to intercept and Enable the userfaultfd() system call that allows to intercept and
...@@ -1600,7 +1591,6 @@ config PERF_EVENTS ...@@ -1600,7 +1591,6 @@ config PERF_EVENTS
bool "Kernel performance events and counters" bool "Kernel performance events and counters"
default y if PROFILING default y if PROFILING
depends on HAVE_PERF_EVENTS depends on HAVE_PERF_EVENTS
select ANON_INODES
select IRQ_WORK select IRQ_WORK
select SRCU select SRCU
help help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment