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