Merge branch 'timer/cleanup' into late/mvebu2
[GitHub/mt8127/android_kernel_alcatel_ttab.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 config GENERIC_ACL
72 bool
73 select FS_POSIX_ACL
74
75 menu "Caches"
76
77 source "fs/fscache/Kconfig"
78 source "fs/cachefiles/Kconfig"
79
80 endmenu
81
82 if BLOCK
83 menu "CD-ROM/DVD Filesystems"
84
85 source "fs/isofs/Kconfig"
86 source "fs/udf/Kconfig"
87
88 endmenu
89 endif # BLOCK
90
91 if BLOCK
92 menu "DOS/FAT/NT Filesystems"
93
94 source "fs/fat/Kconfig"
95 source "fs/ntfs/Kconfig"
96
97 endmenu
98 endif # BLOCK
99
100 menu "Pseudo filesystems"
101
102 source "fs/proc/Kconfig"
103 source "fs/sysfs/Kconfig"
104
105 config TMPFS
106 bool "Tmpfs virtual memory file system support (former shm fs)"
107 depends on SHMEM
108 help
109 Tmpfs is a file system which keeps all files in virtual memory.
110
111 Everything in tmpfs is temporary in the sense that no files will be
112 created on your hard drive. The files live in memory and swap
113 space. If you unmount a tmpfs instance, everything stored therein is
114 lost.
115
116 See <file:Documentation/filesystems/tmpfs.txt> for details.
117
118 config TMPFS_POSIX_ACL
119 bool "Tmpfs POSIX Access Control Lists"
120 depends on TMPFS
121 select TMPFS_XATTR
122 select GENERIC_ACL
123 help
124 POSIX Access Control Lists (ACLs) support additional access rights
125 for users and groups beyond the standard owner/group/world scheme,
126 and this option selects support for ACLs specifically for tmpfs
127 filesystems.
128
129 If you've selected TMPFS, it's possible that you'll also need
130 this option as there are a number of Linux distros that require
131 POSIX ACL support under /dev for certain features to work properly.
132 For example, some distros need this feature for ALSA-related /dev
133 files for sound to work properly. In short, if you're not sure,
134 say Y.
135
136 To learn more about Access Control Lists, visit the POSIX ACLs for
137 Linux website <http://acl.bestbits.at/>.
138
139 config TMPFS_XATTR
140 bool "Tmpfs extended attributes"
141 depends on TMPFS
142 default n
143 help
144 Extended attributes are name:value pairs associated with inodes by
145 the kernel or by users (see the attr(5) manual page, or visit
146 <http://acl.bestbits.at/> for details).
147
148 Currently this enables support for the trusted.* and
149 security.* namespaces.
150
151 You need this for POSIX ACL support on tmpfs.
152
153 If unsure, say N.
154
155 config HUGETLBFS
156 bool "HugeTLB file system support"
157 depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
158 SYS_SUPPORTS_HUGETLBFS || BROKEN
159 help
160 hugetlbfs is a filesystem backing for HugeTLB pages, based on
161 ramfs. For architectures that support it, say Y here and read
162 <file:Documentation/vm/hugetlbpage.txt> for details.
163
164 If unsure, say N.
165
166 config HUGETLB_PAGE
167 def_bool HUGETLBFS
168
169 source "fs/configfs/Kconfig"
170
171 endmenu
172
173 menuconfig MISC_FILESYSTEMS
174 bool "Miscellaneous filesystems"
175 default y
176 ---help---
177 Say Y here to get to see options for various miscellaneous
178 filesystems, such as filesystems that came from other
179 operating systems.
180
181 This option alone does not add any kernel code.
182
183 If you say N, all options in this submenu will be skipped and
184 disabled; if unsure, say Y here.
185
186 if MISC_FILESYSTEMS
187
188 source "fs/adfs/Kconfig"
189 source "fs/affs/Kconfig"
190 source "fs/ecryptfs/Kconfig"
191 source "fs/hfs/Kconfig"
192 source "fs/hfsplus/Kconfig"
193 source "fs/befs/Kconfig"
194 source "fs/bfs/Kconfig"
195 source "fs/efs/Kconfig"
196 source "fs/jffs2/Kconfig"
197 # UBIFS File system configuration
198 source "fs/ubifs/Kconfig"
199 source "fs/logfs/Kconfig"
200 source "fs/cramfs/Kconfig"
201 source "fs/squashfs/Kconfig"
202 source "fs/freevxfs/Kconfig"
203 source "fs/minix/Kconfig"
204 source "fs/omfs/Kconfig"
205 source "fs/hpfs/Kconfig"
206 source "fs/qnx4/Kconfig"
207 source "fs/qnx6/Kconfig"
208 source "fs/romfs/Kconfig"
209 source "fs/pstore/Kconfig"
210 source "fs/sysv/Kconfig"
211 source "fs/ufs/Kconfig"
212 source "fs/exofs/Kconfig"
213 source "fs/f2fs/Kconfig"
214
215 endif # MISC_FILESYSTEMS
216
217 source "fs/exofs/Kconfig.ore"
218
219 menuconfig NETWORK_FILESYSTEMS
220 bool "Network File Systems"
221 default y
222 depends on NET
223 ---help---
224 Say Y here to get to see options for network filesystems and
225 filesystem-related networking code, such as NFS daemon and
226 RPCSEC security modules.
227
228 This option alone does not add any kernel code.
229
230 If you say N, all options in this submenu will be skipped and
231 disabled; if unsure, say Y here.
232
233 if NETWORK_FILESYSTEMS
234
235 source "fs/nfs/Kconfig"
236 source "fs/nfsd/Kconfig"
237
238 config LOCKD
239 tristate
240 depends on FILE_LOCKING
241
242 config LOCKD_V4
243 bool
244 depends on NFSD_V3 || NFS_V3
245 depends on FILE_LOCKING
246 default y
247
248 config NFS_ACL_SUPPORT
249 tristate
250 select FS_POSIX_ACL
251
252 config NFS_COMMON
253 bool
254 depends on NFSD || NFS_FS
255 default y
256
257 source "net/sunrpc/Kconfig"
258 source "fs/ceph/Kconfig"
259 source "fs/cifs/Kconfig"
260 source "fs/ncpfs/Kconfig"
261 source "fs/coda/Kconfig"
262 source "fs/afs/Kconfig"
263 source "fs/9p/Kconfig"
264
265 endif # NETWORK_FILESYSTEMS
266
267 source "fs/nls/Kconfig"
268 source "fs/dlm/Kconfig"
269
270 endmenu