]> www.infradead.org Git - users/willy/linux.git/commitdiff
Make anon_inodes unconditional
authorDavid Howells <dhowells@redhat.com>
Fri, 7 Sep 2018 06:41:01 +0000 (07:41 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 23 Oct 2018 16:39:00 +0000 (17:39 +0100)
Make the anon_inodes facility unconditional so that it can be used by core
VFS code.

Signed-off-by: David Howells <dhowells@redhat.com>
18 files changed:
arch/arm/kvm/Kconfig
arch/arm64/kvm/Kconfig
arch/mips/kvm/Kconfig
arch/powerpc/kvm/Kconfig
arch/s390/kvm/Kconfig
arch/x86/Kconfig
arch/x86/kvm/Kconfig
drivers/base/Kconfig
drivers/char/tpm/Kconfig
drivers/dma-buf/Kconfig
drivers/gpio/Kconfig
drivers/iio/Kconfig
drivers/infiniband/Kconfig
drivers/vfio/Kconfig
fs/Makefile
fs/notify/fanotify/Kconfig
fs/notify/inotify/Kconfig
init/Kconfig

index e2bd35b6780cd6c859758a276cea0cf3b29eada2..c09fcc092a5470c088f2124f356c3ce1330bc787 100644 (file)
@@ -22,7 +22,6 @@ config KVM
        bool "Kernel-based Virtual Machine (KVM) support"
        depends on MMU && OF
        select PREEMPT_NOTIFIERS
-       select ANON_INODES
        select ARM_GIC
        select ARM_GIC_V3
        select ARM_GIC_V3_ITS
index 47b23bf617c76a01516168b8eb0c8e3ea1d64505..86fe9b3e3ff868be3f1f2801eedc69ad5161d730 100644 (file)
@@ -23,7 +23,6 @@ config KVM
        depends on OF
        select MMU_NOTIFIER
        select PREEMPT_NOTIFIERS
-       select ANON_INODES
        select HAVE_KVM_CPU_RELAX_INTERCEPT
        select HAVE_KVM_ARCH_TLB_FLUSH_ALL
        select KVM_MMIO
index 76b93a9c8c9b2578b9950767d9b02f31309e1efa..4d06a29bc13b380069aa42b5ad3c0daea3df20b6 100644 (file)
@@ -20,7 +20,6 @@ config KVM
        depends on HAVE_KVM
        select EXPORT_UASM
        select PREEMPT_NOTIFIERS
-       select ANON_INODES
        select KVM_GENERIC_DIRTYLOG_READ_PROTECT
        select HAVE_KVM_VCPU_ASYNC_IOCTL
        select KVM_MMIO
index 68a0e9d5b44023579daad3602ca89433f94a1208..e058d02ee819adf46490dc9440b5056b41e51eee 100644 (file)
@@ -20,7 +20,6 @@ if VIRTUALIZATION
 config KVM
        bool
        select PREEMPT_NOTIFIERS
-       select ANON_INODES
        select HAVE_KVM_EVENTFD
        select HAVE_KVM_VCPU_ASYNC_IOCTL
        select SRCU
index a3dbd459cce91bf2941222477bec5a085eff10af..600e4fd11a67ba35ff4f45e824cb3b735ee9553a 100644 (file)
@@ -21,7 +21,6 @@ config KVM
        prompt "Kernel-based Virtual Machine (KVM) support"
        depends on HAVE_KVM
        select PREEMPT_NOTIFIERS
-       select ANON_INODES
        select HAVE_KVM_CPU_RELAX_INTERCEPT
        select HAVE_KVM_VCPU_ASYNC_IOCTL
        select HAVE_KVM_EVENTFD
index 1a0be022f91d8d6d89bc154642e3bd29619e483c..d02baf335d98cec4a037db0c9bd654d9d20d31d9 100644 (file)
@@ -46,7 +46,6 @@ config X86
        #
        select ACPI_LEGACY_TABLES_LOOKUP        if ACPI
        select ACPI_SYSTEM_POWER_STATES_SUPPORT if ACPI
-       select ANON_INODES
        select ARCH_CLOCKSOURCE_DATA
        select ARCH_DISCARD_MEMBLOCK
        select ARCH_HAS_ACPI_TABLE_UPGRADE      if ACPI
index 1bbec387d289cb785e4acbd28389e5e071fdfdbb..f3f2e547484b3eb4e76057738d605c53a11eecf8 100644 (file)
@@ -27,7 +27,6 @@ config KVM
        depends on X86_LOCAL_APIC
        select PREEMPT_NOTIFIERS
        select MMU_NOTIFIER
-       select ANON_INODES
        select HAVE_KVM_IRQCHIP
        select HAVE_KVM_IRQFD
        select IRQ_BYPASS_MANAGER
index 3e63a900b330e9b40f934ffe4a9814c79daacb4a..ae213ed2a7c8c3678ea4f1cd636b3fc6f944b312 100644 (file)
@@ -174,7 +174,6 @@ source "drivers/base/regmap/Kconfig"
 config DMA_SHARED_BUFFER
        bool
        default n
-       select ANON_INODES
        select IRQ_WORK
        help
          This option enables the framework for buffer-sharing between
index 18c81cbe4704ca83ca1919e81a14160bb7353981..4819874b5523b5ea9d5328cd5a95fdddeafd7a60 100644 (file)
@@ -157,7 +157,6 @@ config TCG_CRB
 config TCG_VTPM_PROXY
        tristate "VTPM Proxy Interface"
        depends on TCG_TPM
-       select ANON_INODES
        ---help---
          This driver proxies for an emulated TPM (vTPM) running in userspace.
          A device /dev/vtpmx is provided that creates a device pair
index ed3b785bae37e1cd589697f04d1b868dc2fccd9b..b0194c8c251c435a6c2bdf5736e3ee670071790c 100644 (file)
@@ -3,7 +3,6 @@ menu "DMABUF options"
 config SYNC_FILE
        bool "Explicit Synchronization Framework"
        default n
-       select ANON_INODES
        select DMA_SHARED_BUFFER
        ---help---
          The Sync File Framework adds explicit syncronization via
index 4f52c3a8ec99bf0801ac1a2a3c7e01a9b9be1453..392fd95b3734946031b12bab3a66369ccc25b46d 100644 (file)
@@ -12,7 +12,6 @@ config ARCH_HAVE_CUSTOM_GPIO_H
 
 menuconfig GPIOLIB
        bool "GPIO Support"
-       select ANON_INODES
        help
          This enables GPIO support through the generic GPIO library.
          You only need to enable this, if you also want to enable
index d08aeb41cd078527cf2ae4ca6ee2d6aee26d65bc..1dec0fecb6efa940175074fd04223b48fa6be1f5 100644 (file)
@@ -4,7 +4,6 @@
 
 menuconfig IIO
        tristate "Industrial I/O support"
-       select ANON_INODES
        help
          The industrial I/O subsystem provides a unified framework for
          drivers for many different types of embedded sensors using a
index abb6660c099c9f44767c1f2aad27730658fba28d..176b943dfec93f57df10f6c4fda13e848a591522 100644 (file)
@@ -25,7 +25,6 @@ config INFINIBAND_USER_MAD
 
 config INFINIBAND_USER_ACCESS
        tristate "InfiniBand userspace access (verbs and CM)"
-       select ANON_INODES
        ---help---
          Userspace InfiniBand access support.  This enables the
          kernel side of userspace verbs and the userspace
index c84333eb5eb59bef3ab1ee41b7aea6e0ee982c75..9aa91e736023976239765d29b6d102d59062acc9 100644 (file)
@@ -22,7 +22,6 @@ menuconfig VFIO
        tristate "VFIO Non-Privileged userspace driver framework"
        depends on IOMMU_API
        select VFIO_IOMMU_TYPE1 if (X86 || S390 || ARM_SMMU || ARM_SMMU_V3)
-       select ANON_INODES
        help
          VFIO provides a framework for secure userspace device drivers.
          See Documentation/vfio.txt for more details.
index 9a0b8003f06951d0e7dfb81a65f6ad6229aef482..ae681523b4b1b0f939215d63eb7b37dea9368a3f 100644 (file)
@@ -25,7 +25,7 @@ obj-$(CONFIG_PROC_FS) += proc_namespace.o
 
 obj-y                          += notify/
 obj-$(CONFIG_EPOLL)            += eventpoll.o
-obj-$(CONFIG_ANON_INODES)      += anon_inodes.o
+obj-y                          += anon_inodes.o
 obj-$(CONFIG_SIGNALFD)         += signalfd.o
 obj-$(CONFIG_TIMERFD)          += timerfd.o
 obj-$(CONFIG_EVENTFD)          += eventfd.o
index 41355ce74ac0be6233e34d56d5eb040fcddb3112..f5b0b3af32dd027171f1922f8b6a899e6e2fbdf8 100644 (file)
@@ -1,7 +1,6 @@
 config FANOTIFY
        bool "Filesystem wide access notification"
        select FSNOTIFY
-       select ANON_INODES
        default n
        ---help---
           Say Y here to enable fanotify support.  fanotify is a file access
index b981fc0c8379d143eee7a0207ca6cd0fc69a3329..0161c74e76e260c5a9cf221250bed53d6346add5 100644 (file)
@@ -1,6 +1,5 @@
 config INOTIFY_USER
        bool "Inotify support for userspace"
-       select ANON_INODES
        select FSNOTIFY
        default y
        ---help---
index 1e234e2f1cba7a0f1ca9e2ae18868d50e1fe4aaf..275534995f78d3a61db5acc444f035cc94ed66c5 100644 (file)
@@ -1114,9 +1114,6 @@ config LD_DEAD_CODE_DATA_ELIMINATION
 config SYSCTL
        bool
 
-config ANON_INODES
-       bool
-
 config HAVE_UID16
        bool
 
@@ -1321,14 +1318,12 @@ config HAVE_FUTEX_CMPXCHG
 config EPOLL
        bool "Enable eventpoll support" if EXPERT
        default y
-       select ANON_INODES
        help
          Disabling this option will cause the kernel to be built without
          support for epoll family of system calls.
 
 config SIGNALFD
        bool "Enable signalfd() system call" if EXPERT
-       select ANON_INODES
        default y
        help
          Enable the signalfd() system call that allows to receive signals
@@ -1338,7 +1333,6 @@ config SIGNALFD
 
 config TIMERFD
        bool "Enable timerfd() system call" if EXPERT
-       select ANON_INODES
        default y
        help
          Enable the timerfd() system call that allows to receive timer
@@ -1348,7 +1342,6 @@ config TIMERFD
 
 config EVENTFD
        bool "Enable eventfd() system call" if EXPERT
-       select ANON_INODES
        default y
        help
          Enable the eventfd() system call that allows to receive both
@@ -1450,7 +1443,6 @@ config KALLSYMS_BASE_RELATIVE
 # syscall, maps, verifier
 config BPF_SYSCALL
        bool "Enable bpf() system call"
-       select ANON_INODES
        select BPF
        select IRQ_WORK
        default n
@@ -1467,7 +1459,6 @@ config BPF_JIT_ALWAYS_ON
 
 config USERFAULTFD
        bool "Enable userfaultfd() system call"
-       select ANON_INODES
        depends on MMU
        help
          Enable the userfaultfd() system call that allows to intercept and
@@ -1534,7 +1525,6 @@ config PERF_EVENTS
        bool "Kernel performance events and counters"
        default y if PROFILING
        depends on HAVE_PERF_EVENTS
-       select ANON_INODES
        select IRQ_WORK
        select SRCU
        help