]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - fs/Kconfig
nfs: use generic posix ACL infrastructure for v3 Posix ACLs
[mirror_ubuntu-artful-kernel.git] / fs / Kconfig
CommitLineData
1da177e4
LT
1#
2# File system configuration
3#
4
5menu "File systems"
6
bfcfaa77
LT
7# Use unaligned word dcache accesses
8config DCACHE_WORD_ACCESS
9 bool
10
9361401e
DH
11if BLOCK
12
6da0b38f
AD
13source "fs/ext2/Kconfig"
14source "fs/ext3/Kconfig"
15source "fs/ext4/Kconfig"
6d79125b
CO
16
17config FS_XIP
18# execute in place
19 bool
20 depends on EXT2_FS_XIP
21 default y
22
6da0b38f
AD
23source "fs/jbd/Kconfig"
24source "fs/jbd2/Kconfig"
dab291af 25
1da177e4 26config FS_MBCACHE
02ea2104 27# Meta block cache for Extended Attributes (ext2/ext3/ext4)
1da177e4 28 tristate
2c512397
AB
29 default y if EXT2_FS=y && EXT2_FS_XATTR
30 default y if EXT3_FS=y && EXT3_FS_XATTR
939da108
TM
31 default y if EXT4_FS=y
32 default m if EXT2_FS_XATTR || EXT3_FS_XATTR || EXT4_FS
1da177e4 33
b16ecfe2 34source "fs/reiserfs/Kconfig"
f5c77969 35source "fs/jfs/Kconfig"
1da177e4 36
69050eee
TS
37source "fs/xfs/Kconfig"
38source "fs/gfs2/Kconfig"
39source "fs/ocfs2/Kconfig"
40source "fs/btrfs/Kconfig"
41f4db0f 41source "fs/nilfs2/Kconfig"
69050eee
TS
42
43endif # BLOCK
44
16ebe911
RD
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#
50config FS_POSIX_ACL
51 def_bool n
52
4199ca77 53config EXPORTFS
79fead47 54 tristate
4199ca77 55
bfcd17a6 56config FILE_LOCKING
6a108a14 57 bool "Enable POSIX file locking API" if EXPERT
bfcd17a6
TP
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
272eb014 64source "fs/notify/Kconfig"
0eeca283 65
884d179d 66source "fs/quota/Kconfig"
1da177e4 67
90ffd467 68source "fs/autofs4/Kconfig"
3ef7784e 69source "fs/fuse/Kconfig"
04578f17 70
f2fbc6c2
RD
71config GENERIC_ACL
72 bool
73 select FS_POSIX_ACL
74
06b3db1b
DH
75menu "Caches"
76
77source "fs/fscache/Kconfig"
9ae326a6 78source "fs/cachefiles/Kconfig"
06b3db1b
DH
79
80endmenu
81
9361401e 82if BLOCK
1da177e4
LT
83menu "CD-ROM/DVD Filesystems"
84
ddfaccd9
AD
85source "fs/isofs/Kconfig"
86source "fs/udf/Kconfig"
1da177e4
LT
87
88endmenu
25fad945 89endif # BLOCK
1da177e4 90
9361401e 91if BLOCK
1da177e4
LT
92menu "DOS/FAT/NT Filesystems"
93
1c6ace01 94source "fs/fat/Kconfig"
9d73ac9e 95source "fs/ntfs/Kconfig"
1da177e4
LT
96
97endmenu
25fad945 98endif # BLOCK
1da177e4
LT
99
100menu "Pseudo filesystems"
101
6eedf8d3 102source "fs/proc/Kconfig"
5f3a211a 103source "fs/sysfs/Kconfig"
1da177e4 104
1da177e4 105config TMPFS
f5fc870d 106 bool "Tmpfs virtual memory file system support (former shm fs)"
3f96b79a 107 depends on SHMEM
1da177e4
LT
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
4db70f73
EP
118config TMPFS_POSIX_ACL
119 bool "Tmpfs POSIX Access Control Lists"
120 depends on TMPFS
121 select TMPFS_XATTR
122 select GENERIC_ACL
123 help
206506cc
RD
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.
4db70f73
EP
135
136 To learn more about Access Control Lists, visit the POSIX ACLs for
137 Linux website <http://acl.bestbits.at/>.
138
b09e0fa4
EP
139config 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
b09e0fa4
EP
151 You need this for POSIX ACL support on tmpfs.
152
4db70f73 153 If unsure, say N.
39f0247d 154
1da177e4
LT
155config HUGETLBFS
156 bool "HugeTLB file system support"
5a1eb5c4 157 depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
ffb4a73d 158 SYS_SUPPORTS_HUGETLBFS || BROKEN
dda27d1a
AO
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.
1da177e4
LT
165
166config HUGETLB_PAGE
167 def_bool HUGETLBFS
168
4591dabe 169source "fs/configfs/Kconfig"
7063fbf2 170
1da177e4
LT
171endmenu
172
67ec7d3a
RD
173menuconfig 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
186if MISC_FILESYSTEMS
1da177e4 187
bc2de2ae 188source "fs/adfs/Kconfig"
10951bf0 189source "fs/affs/Kconfig"
295c896c 190source "fs/ecryptfs/Kconfig"
b08bac1f
AD
191source "fs/hfs/Kconfig"
192source "fs/hfsplus/Kconfig"
0b09eb32 193source "fs/befs/Kconfig"
0ff42384 194source "fs/bfs/Kconfig"
571f0a0b 195source "fs/efs/Kconfig"
31db6e9e 196source "fs/jffs2/Kconfig"
0d7eff87
AB
197# UBIFS File system configuration
198source "fs/ubifs/Kconfig"
5db53f3e 199source "fs/logfs/Kconfig"
2a22783b 200source "fs/cramfs/Kconfig"
22635ec9 201source "fs/squashfs/Kconfig"
22135169 202source "fs/freevxfs/Kconfig"
8b1cd7d3 203source "fs/minix/Kconfig"
da55e6f9 204source "fs/omfs/Kconfig"
928ea192 205source "fs/hpfs/Kconfig"
4c741583 206source "fs/qnx4/Kconfig"
5d026c72 207source "fs/qnx6/Kconfig"
41810246 208source "fs/romfs/Kconfig"
ca01d6dd 209source "fs/pstore/Kconfig"
8af915ba 210source "fs/sysv/Kconfig"
a276a52f 211source "fs/ufs/Kconfig"
0d8fe329 212source "fs/exofs/Kconfig"
a14d5393 213source "fs/f2fs/Kconfig"
d68772b7 214source "fs/efivarfs/Kconfig"
0c4fb877 215
67ec7d3a 216endif # MISC_FILESYSTEMS
1da177e4 217
831c2dc5
BH
218source "fs/exofs/Kconfig.ore"
219
ea0985ad
JE
220menuconfig NETWORK_FILESYSTEMS
221 bool "Network File Systems"
222 default y
1da177e4 223 depends on NET
ea0985ad
JE
224 ---help---
225 Say Y here to get to see options for network filesystems and
226 filesystem-related networking code, such as NFS daemon and
227 RPCSEC security modules.
6fb1bc10 228
ea0985ad
JE
229 This option alone does not add any kernel code.
230
231 If you say N, all options in this submenu will be skipped and
232 disabled; if unsure, say Y here.
233
234if NETWORK_FILESYSTEMS
1da177e4 235
97afe47a 236source "fs/nfs/Kconfig"
e2b329e2 237source "fs/nfsd/Kconfig"
1da177e4 238
1da177e4
LT
239config LOCKD
240 tristate
dd4dc82d 241 depends on FILE_LOCKING
1da177e4
LT
242
243config LOCKD_V4
244 bool
245 depends on NFSD_V3 || NFS_V3
dd4dc82d 246 depends on FILE_LOCKING
1da177e4
LT
247 default y
248
a257cdd0
AG
249config NFS_ACL_SUPPORT
250 tristate
251 select FS_POSIX_ACL
252
253config NFS_COMMON
254 bool
255 depends on NFSD || NFS_FS
256 default y
257
9098c24f 258source "net/sunrpc/Kconfig"
9030aaf9 259source "fs/ceph/Kconfig"
bb26b963 260source "fs/cifs/Kconfig"
1da177e4 261source "fs/ncpfs/Kconfig"
33a1a6fe 262source "fs/coda/Kconfig"
b2480c7f 263source "fs/afs/Kconfig"
0fcb4408 264source "fs/9p/Kconfig"
93fa58cb 265
ea0985ad 266endif # NETWORK_FILESYSTEMS
1da177e4 267
1da177e4 268source "fs/nls/Kconfig"
e7fd4179 269source "fs/dlm/Kconfig"
1da177e4
LT
270
271endmenu