Skip to content

Commit 5dd50aa

Browse files
dhowellsbrauner
authored andcommitted
Make anon_inodes unconditional
Make the anon_inodes facility unconditional so that it can be used by core VFS code and pidfd code. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> [christian@brauner.io: adapt commit message to mention pidfds] Signed-off-by: Christian Brauner <christian@brauner.io>
1 parent 15ade5d commit 5dd50aa

18 files changed

Lines changed: 1 addition & 27 deletions

File tree

‎arch/arm/kvm/Kconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ config KVM
2222
bool "Kernel-based Virtual Machine (KVM) support"
2323
depends on MMU && OF
2424
select PREEMPT_NOTIFIERS
25-
select ANON_INODES
2625
select ARM_GIC
2726
select ARM_GIC_V3
2827
select ARM_GIC_V3_ITS

‎arch/arm64/kvm/Kconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ config KVM
2323
depends on OF
2424
select MMU_NOTIFIER
2525
select PREEMPT_NOTIFIERS
26-
select ANON_INODES
2726
select HAVE_KVM_CPU_RELAX_INTERCEPT
2827
select HAVE_KVM_ARCH_TLB_FLUSH_ALL
2928
select KVM_MMIO

‎arch/mips/kvm/Kconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ config KVM
2121
depends on MIPS_FP_SUPPORT
2222
select EXPORT_UASM
2323
select PREEMPT_NOTIFIERS
24-
select ANON_INODES
2524
select KVM_GENERIC_DIRTYLOG_READ_PROTECT
2625
select HAVE_KVM_VCPU_ASYNC_IOCTL
2726
select KVM_MMIO

‎arch/powerpc/kvm/Kconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ if VIRTUALIZATION
2020
config KVM
2121
bool
2222
select PREEMPT_NOTIFIERS
23-
select ANON_INODES
2423
select HAVE_KVM_EVENTFD
2524
select HAVE_KVM_VCPU_ASYNC_IOCTL
2625
select SRCU

‎arch/s390/kvm/Kconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ config KVM
2121
prompt "Kernel-based Virtual Machine (KVM) support"
2222
depends on HAVE_KVM
2323
select PREEMPT_NOTIFIERS
24-
select ANON_INODES
2524
select HAVE_KVM_CPU_RELAX_INTERCEPT
2625
select HAVE_KVM_VCPU_ASYNC_IOCTL
2726
select HAVE_KVM_EVENTFD

‎arch/x86/Kconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ config X86
4444
#
4545
select ACPI_LEGACY_TABLES_LOOKUP if ACPI
4646
select ACPI_SYSTEM_POWER_STATES_SUPPORT if ACPI
47-
select ANON_INODES
4847
select ARCH_32BIT_OFF_T if X86_32
4948
select ARCH_CLOCKSOURCE_DATA
5049
select ARCH_CLOCKSOURCE_INIT

‎arch/x86/kvm/Kconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ config KVM
2727
depends on X86_LOCAL_APIC
2828
select PREEMPT_NOTIFIERS
2929
select MMU_NOTIFIER
30-
select ANON_INODES
3130
select HAVE_KVM_IRQCHIP
3231
select HAVE_KVM_IRQFD
3332
select IRQ_BYPASS_MANAGER

‎drivers/base/Kconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ source "drivers/base/regmap/Kconfig"
174174
config DMA_SHARED_BUFFER
175175
bool
176176
default n
177-
select ANON_INODES
178177
select IRQ_WORK
179178
help
180179
This option enables the framework for buffer-sharing between

‎drivers/char/tpm/Kconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ config TCG_CRB
157157
config TCG_VTPM_PROXY
158158
tristate "VTPM Proxy Interface"
159159
depends on TCG_TPM
160-
select ANON_INODES
161160
---help---
162161
This driver proxies for an emulated TPM (vTPM) running in userspace.
163162
A device /dev/vtpmx is provided that creates a device pair

‎drivers/dma-buf/Kconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ menu "DMABUF options"
33
config SYNC_FILE
44
bool "Explicit Synchronization Framework"
55
default n
6-
select ANON_INODES
76
select DMA_SHARED_BUFFER
87
---help---
98
The Sync File Framework adds explicit syncronization via

0 commit comments

Comments
 (0)