summaryrefslogtreecommitdiffstats
path: root/configs/fedora/generic/CONFIG_TMPFS_INODE64
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2020-10-20 06:46:43 +0200
committerThorsten Leemhuis <fedora@leemhuis.info>2020-10-20 06:46:43 +0200
commit5ec75f810f09a224ce0f77ba312599eb4c7321bc (patch)
treedcb2b1a0d97363e1a678726925d875c1bea151fa /configs/fedora/generic/CONFIG_TMPFS_INODE64
parent11a8f14639c96c38e142ba04c87f50de9c557ba7 (diff)
parenta71ee103a729754519abc15fd58e6b258a89e58b (diff)
downloadkernel-5ec75f810f09a224ce0f77ba312599eb4c7321bc.tar.gz
kernel-5ec75f810f09a224ce0f77ba312599eb4c7321bc.tar.xz
kernel-5ec75f810f09a224ce0f77ba312599eb4c7321bc.zip
merge origin
Diffstat (limited to 'configs/fedora/generic/CONFIG_TMPFS_INODE64')
-rw-r--r--configs/fedora/generic/CONFIG_TMPFS_INODE6431
1 files changed, 31 insertions, 0 deletions
diff --git a/configs/fedora/generic/CONFIG_TMPFS_INODE64 b/configs/fedora/generic/CONFIG_TMPFS_INODE64
new file mode 100644
index 000000000..8e974b6e2
--- /dev/null
+++ b/configs/fedora/generic/CONFIG_TMPFS_INODE64
@@ -0,0 +1,31 @@
+# CONFIG_TMPFS_INODE64:
+#
+# tmpfs has historically used only inode numbers as wide as an unsigned
+# int. In some cases this can cause wraparound, potentially resulting
+# in multiple files with the same inode number on a single device. This
+# option makes tmpfs use the full width of ino_t by default, without
+# needing to specify the inode64 option when mounting.
+#
+# But if a long-lived tmpfs is to be accessed by 32-bit applications so
+# ancient that opening a file larger than 2GiB fails with EINVAL, then
+# the INODE64 config option and inode64 mount option risk operations
+# failing with EOVERFLOW once 33-bit inode numbers are reached.
+#
+# To override this configured default, use the inode32 or inode64
+# option when mounting.
+#
+# If unsure, say N.
+#
+# Symbol: TMPFS_INODE64 [=n]
+# Type : bool
+# Defined at fs/Kconfig:204
+# Prompt: Use 64-bit ino_t by default in tmpfs
+# Depends on: TMPFS [=y] && 64BIT [=y]
+# Location:
+# -> File systems
+# -> Pseudo filesystems
+# -> Tmpfs virtual memory file system support (former shm fs) (TMPFS [=y])
+#
+#
+#
+CONFIG_TMPFS_INODE64=y