summaryrefslogtreecommitdiffstats
path: root/configs/fedora/generic/CONFIG_TMPFS_INODE64
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2020-11-10 11:16:42 -0600
committerJustin M. Forbes <jforbes@fedoraproject.org>2020-11-10 11:16:42 -0600
commitc9650cbc063e1f1687e656657ec9f7a3556442b7 (patch)
tree98de61727a0bab8cf25fc99096028b6a6564b728 /configs/fedora/generic/CONFIG_TMPFS_INODE64
parent058e837df3771ba23fb24de6efe448c6cccfbd19 (diff)
downloadkernel-c9650cbc063e1f1687e656657ec9f7a3556442b7.tar.gz
kernel-c9650cbc063e1f1687e656657ec9f7a3556442b7.tar.xz
kernel-c9650cbc063e1f1687e656657ec9f7a3556442b7.zip
Linux v5.9.7
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
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