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