]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - fs/Kconfig
Merge remote-tracking branches 'regulator/fix/as3722', 'regulator/fix/ltc3589' and...
[mirror_ubuntu-bionic-kernel.git] / fs / Kconfig
1 #
2 # File system configuration
3 #
4
5 menu "File systems"
6
7 # Use unaligned word dcache accesses
8 config DCACHE_WORD_ACCESS
9 bool
10
11 if BLOCK
12
13 source "fs/ext2/Kconfig"
14 source "fs/ext3/Kconfig"
15 source "fs/ext4/Kconfig"
16
17 config FS_XIP
18 # execute in place
19 bool
20 depends on EXT2_FS_XIP
21 default y
22
23 source "fs/jbd/Kconfig"
24 source "fs/jbd2/Kconfig"
25
26 config FS_MBCACHE
27 # Meta block cache for Extended Attributes (ext2/ext3/ext4)
28 tristate
29 default y if EXT2_FS=y && EXT2_FS_XATTR
30 default y if EXT3_FS=y && EXT3_FS_XATTR
31 default y if EXT4_FS=y
32 default m if EXT2_FS_XATTR || EXT3_FS_XATTR || EXT4_FS
33
34 source "fs/reiserfs/Kconfig"
35 source "fs/jfs/Kconfig"
36
37 source "fs/xfs/Kconfig"
38 source "fs/gfs2/Kconfig"
39 source "fs/ocfs2/Kconfig"
40 source "fs/btrfs/Kconfig"
41 source "fs/nilfs2/Kconfig"
42
43 endif # BLOCK
44
45 # Posix ACL utility routines
46 #
47 # Note: Posix ACLs can be implemented without these helpers. Never use
48 # this symbol for ifdefs in core code.
49 #
50 config FS_POSIX_ACL
51 def_bool n
52
53 config EXPORTFS
54 tristate
55
56 config FILE_LOCKING
57 bool "Enable POSIX file locking API" if EXPERT
58 default y
59 help
60 This option enables standard file locking support, required
61 for filesystems like NFS and for the flock() system
62 call. Disabling this option saves about 11k.
63
64 source "fs/notify/Kconfig"
65
66 source "fs/quota/Kconfig"
67
68 source "fs/autofs4/Kconfig"
69 source "fs/fuse/Kconfig"
70
71 menu "Caches"
72
73 source "fs/fscache/Kconfig"
74 source "fs/cachefiles/Kconfig"
75
76 endmenu
77
78 if BLOCK
79 menu "CD-ROM/DVD Filesystems"
80
81 source "fs/isofs/Kconfig"
82 source "fs/udf/Kconfig"
83
84 endmenu
85 endif # BLOCK
86
87 if BLOCK
88 menu "DOS/FAT/NT Filesystems"
89
90 source "fs/fat/Kconfig"
91 source "fs/ntfs/Kconfig"
92
93 endmenu
94 endif # BLOCK
95
96 menu "Pseudo filesystems"
97
98 source "fs/proc/Kconfig"
99 source "fs/kernfs/Kconfig"
100 source "fs/sysfs/Kconfig"
101
102 config TMPFS
103 bool "Tmpfs virtual memory file system support (former shm fs)"
104 depends on SHMEM
105 help
106 Tmpfs is a file system which keeps all files in virtual memory.
107
108 Everything in tmpfs is temporary in the sense that no files will be
109 created on your hard drive. The files live in memory and swap
110 space. If you unmount a tmpfs instance, everything stored therein is
111 lost.
112
113 See <file:Documentation/filesystems/tmpfs.txt> for details.
114
115 config TMPFS_POSIX_ACL
116 bool "Tmpfs POSIX Access Control Lists"
117 depends on TMPFS
118 select TMPFS_XATTR
119 select FS_POSIX_ACL
120 help
121 POSIX Access Control Lists (ACLs) support additional access rights
122 for users and groups beyond the standard owner/group/world scheme,
123 and this option selects support for ACLs specifically for tmpfs
124 filesystems.
125
126 If you've selected TMPFS, it's possible that you'll also need
127 this option as there are a number of Linux distros that require
128 POSIX ACL support under /dev for certain features to work properly.
129 For example, some distros need this feature for ALSA-related /dev
130 files for sound to work properly. In short, if you're not sure,
131 say Y.
132
133 To learn more about Access Control Lists, visit the POSIX ACLs for
134 Linux website <http://acl.bestbits.at/>.
135
136 config TMPFS_XATTR
137 bool "Tmpfs extended attributes"
138 depends on TMPFS
139 default n
140 help
141 Extended attributes are name:value pairs associated with inodes by
142 the kernel or by users (see the attr(5) manual page, or visit
143 <http://acl.bestbits.at/> for details).
144
145 Currently this enables support for the trusted.* and
146 security.* namespaces.
147
148 You need this for POSIX ACL support on tmpfs.
149
150 If unsure, say N.
151
152 config HUGETLBFS
153 bool "HugeTLB file system support"
154 depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
155 SYS_SUPPORTS_HUGETLBFS || BROKEN
156 help
157 hugetlbfs is a filesystem backing for HugeTLB pages, based on
158 ramfs. For architectures that support it, say Y here and read
159 <file:Documentation/vm/hugetlbpage.txt> for details.
160
161 If unsure, say N.
162
163 config HUGETLB_PAGE
164 def_bool HUGETLBFS
165
166 source "fs/configfs/Kconfig"
167
168 endmenu
169
170 menuconfig MISC_FILESYSTEMS
171 bool "Miscellaneous filesystems"
172 default y
173 ---help---
174 Say Y here to get to see options for various miscellaneous
175 filesystems, such as filesystems that came from other
176 operating systems.
177
178 This option alone does not add any kernel code.
179
180 If you say N, all options in this submenu will be skipped and
181 disabled; if unsure, say Y here.
182
183 if MISC_FILESYSTEMS
184
185 source "fs/adfs/Kconfig"
186 source "fs/affs/Kconfig"
187 source "fs/ecryptfs/Kconfig"
188 source "fs/hfs/Kconfig"
189 source "fs/hfsplus/Kconfig"
190 source "fs/befs/Kconfig"
191 source "fs/bfs/Kconfig"
192 source "fs/efs/Kconfig"
193 source "fs/jffs2/Kconfig"
194 # UBIFS File system configuration
195 source "fs/ubifs/Kconfig"
196 source "fs/logfs/Kconfig"
197 source "fs/cramfs/Kconfig"
198 source "fs/squashfs/Kconfig"
199 source "fs/freevxfs/Kconfig"
200 source "fs/minix/Kconfig"
201 source "fs/omfs/Kconfig"
202 source "fs/hpfs/Kconfig"
203 source "fs/qnx4/Kconfig"
204 source "fs/qnx6/Kconfig"
205 source "fs/romfs/Kconfig"
206 source "fs/pstore/Kconfig"
207 source "fs/sysv/Kconfig"
208 source "fs/ufs/Kconfig"
209 source "fs/exofs/Kconfig"
210 source "fs/f2fs/Kconfig"
211 source "fs/efivarfs/Kconfig"
212
213 endif # MISC_FILESYSTEMS
214
215 source "fs/exofs/Kconfig.ore"
216
217 menuconfig NETWORK_FILESYSTEMS
218 bool "Network File Systems"
219 default y
220 depends on NET
221 ---help---
222 Say Y here to get to see options for network filesystems and
223 filesystem-related networking code, such as NFS daemon and
224 RPCSEC security modules.
225
226 This option alone does not add any kernel code.
227
228 If you say N, all options in this submenu will be skipped and
229 disabled; if unsure, say Y here.
230
231 if NETWORK_FILESYSTEMS
232
233 source "fs/nfs/Kconfig"
234 source "fs/nfsd/Kconfig"
235
236 config LOCKD
237 tristate
238 depends on FILE_LOCKING
239
240 config LOCKD_V4
241 bool
242 depends on NFSD_V3 || NFS_V3
243 depends on FILE_LOCKING
244 default y
245
246 config NFS_ACL_SUPPORT
247 tristate
248 select FS_POSIX_ACL
249
250 config NFS_COMMON
251 bool
252 depends on NFSD || NFS_FS
253 default y
254
255 source "net/sunrpc/Kconfig"
256 source "fs/ceph/Kconfig"
257 source "fs/cifs/Kconfig"
258 source "fs/ncpfs/Kconfig"
259 source "fs/coda/Kconfig"
260 source "fs/afs/Kconfig"
261 source "fs/9p/Kconfig"
262
263 endif # NETWORK_FILESYSTEMS
264
265 source "fs/nls/Kconfig"
266 source "fs/dlm/Kconfig"
267
268 endmenu