hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/fs/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # File system configuration
34 #
....@@ -7,6 +8,12 @@
78 # Use unaligned word dcache accesses
89 config DCACHE_WORD_ACCESS
910 bool
11
+
12
+config VALIDATE_FS_PARSER
13
+ bool "Validate filesystem parameter description"
14
+ help
15
+ Enable this to perform validation of the parameter description for a
16
+ filesystem when it is registered.
1017
1118 if BLOCK
1219
....@@ -33,11 +40,12 @@
3340 source "fs/btrfs/Kconfig"
3441 source "fs/nilfs2/Kconfig"
3542 source "fs/f2fs/Kconfig"
43
+source "fs/zonefs/Kconfig"
3644
3745 config FS_DAX
3846 bool "Direct Access (DAX) support"
3947 depends on MMU
40
- depends on !(ARM || MIPS || SPARC)
48
+ depends on !(ARM || MIPS || SPARC) || (ROCKCHIP_RAMDISK && ARM)
4149 select DEV_PAGEMAP_OPS if (ZONE_DEVICE && !FS_DAX_LIMITED)
4250 select FS_IOMAP
4351 select DAX
....@@ -133,9 +141,10 @@
133141 endif # BLOCK
134142
135143 if BLOCK
136
-menu "DOS/FAT/NT Filesystems"
144
+menu "DOS/FAT/EXFAT/NT Filesystems"
137145
138146 source "fs/fat/Kconfig"
147
+source "fs/exfat/Kconfig"
139148 source "fs/ntfs/Kconfig"
140149
141150 endmenu
....@@ -158,7 +167,7 @@
158167 space. If you unmount a tmpfs instance, everything stored therein is
159168 lost.
160169
161
- See <file:Documentation/filesystems/tmpfs.txt> for details.
170
+ See <file:Documentation/filesystems/tmpfs.rst> for details.
162171
163172 config TMPFS_POSIX_ACL
164173 bool "Tmpfs POSIX Access Control Lists"
....@@ -193,6 +202,27 @@
193202
194203 If unsure, say N.
195204
205
+config TMPFS_INODE64
206
+ bool "Use 64-bit ino_t by default in tmpfs"
207
+ depends on TMPFS && 64BIT && !(S390 || ALPHA)
208
+ default n
209
+ help
210
+ tmpfs has historically used only inode numbers as wide as an unsigned
211
+ int. In some cases this can cause wraparound, potentially resulting
212
+ in multiple files with the same inode number on a single device. This
213
+ option makes tmpfs use the full width of ino_t by default, without
214
+ needing to specify the inode64 option when mounting.
215
+
216
+ But if a long-lived tmpfs is to be accessed by 32-bit applications so
217
+ ancient that opening a file larger than 2GiB fails with EINVAL, then
218
+ the INODE64 config option and inode64 mount option risk operations
219
+ failing with EOVERFLOW once 33-bit inode numbers are reached.
220
+
221
+ To override this configured default, use the inode32 or inode64
222
+ option when mounting.
223
+
224
+ If unsure, say N.
225
+
196226 config HUGETLBFS
197227 bool "HugeTLB file system support"
198228 depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
....@@ -221,7 +251,7 @@
221251 menuconfig MISC_FILESYSTEMS
222252 bool "Miscellaneous filesystems"
223253 default y
224
- ---help---
254
+ help
225255 Say Y here to get to see options for various miscellaneous
226256 filesystems, such as filesystems that came from other
227257 operating systems.
....@@ -237,7 +267,6 @@
237267 source "fs/adfs/Kconfig"
238268 source "fs/affs/Kconfig"
239269 source "fs/ecryptfs/Kconfig"
240
-source "fs/sdcardfs/Kconfig"
241270 source "fs/hfs/Kconfig"
242271 source "fs/hfsplus/Kconfig"
243272 source "fs/befs/Kconfig"
....@@ -258,17 +287,16 @@
258287 source "fs/pstore/Kconfig"
259288 source "fs/sysv/Kconfig"
260289 source "fs/ufs/Kconfig"
261
-source "fs/exofs/Kconfig"
290
+source "fs/erofs/Kconfig"
291
+source "fs/vboxsf/Kconfig"
262292
263293 endif # MISC_FILESYSTEMS
264
-
265
-source "fs/exofs/Kconfig.ore"
266294
267295 menuconfig NETWORK_FILESYSTEMS
268296 bool "Network File Systems"
269297 default y
270298 depends on NET
271
- ---help---
299
+ help
272300 Say Y here to get to see options for network filesystems and
273301 filesystem-related networking code, such as NFS daemon and
274302 RPCSEC security modules.
....@@ -319,4 +347,7 @@
319347 source "fs/dlm/Kconfig"
320348 source "fs/unicode/Kconfig"
321349
350
+config IO_WQ
351
+ bool
352
+
322353 endmenu