fs: Add sdfat
[GitHub/LineageOS/android_kernel_samsung_universal7580.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
3c2a0909
S
11config INTERRUPTIBLE_SYNC
12 bool "Support interruptible sync for Samsung Mobile Device"
13 default y
14
9361401e
DH
15if BLOCK
16
6da0b38f
AD
17source "fs/ext2/Kconfig"
18source "fs/ext3/Kconfig"
19source "fs/ext4/Kconfig"
3c2a0909 20source "fs/sdcardfs/Kconfig"
6d79125b
CO
21
22config FS_XIP
23# execute in place
24 bool
25 depends on EXT2_FS_XIP
26 default y
27
6da0b38f
AD
28source "fs/jbd/Kconfig"
29source "fs/jbd2/Kconfig"
dab291af 30
1da177e4 31config FS_MBCACHE
02ea2104 32# Meta block cache for Extended Attributes (ext2/ext3/ext4)
1da177e4 33 tristate
2c512397
AB
34 default y if EXT2_FS=y && EXT2_FS_XATTR
35 default y if EXT3_FS=y && EXT3_FS_XATTR
939da108
TM
36 default y if EXT4_FS=y
37 default m if EXT2_FS_XATTR || EXT3_FS_XATTR || EXT4_FS
1da177e4 38
b16ecfe2 39source "fs/reiserfs/Kconfig"
f5c77969 40source "fs/jfs/Kconfig"
1da177e4 41
69050eee
TS
42source "fs/xfs/Kconfig"
43source "fs/gfs2/Kconfig"
44source "fs/ocfs2/Kconfig"
45source "fs/btrfs/Kconfig"
41f4db0f 46source "fs/nilfs2/Kconfig"
69050eee
TS
47
48endif # BLOCK
49
16ebe911
RD
50# Posix ACL utility routines
51#
52# Note: Posix ACLs can be implemented without these helpers. Never use
53# this symbol for ifdefs in core code.
54#
55config FS_POSIX_ACL
56 def_bool n
57
4199ca77 58config EXPORTFS
79fead47 59 tristate
4199ca77 60
bfcd17a6 61config FILE_LOCKING
6a108a14 62 bool "Enable POSIX file locking API" if EXPERT
bfcd17a6
TP
63 default y
64 help
65 This option enables standard file locking support, required
66 for filesystems like NFS and for the flock() system
67 call. Disabling this option saves about 11k.
68
272eb014 69source "fs/notify/Kconfig"
0eeca283 70
884d179d 71source "fs/quota/Kconfig"
1da177e4 72
90ffd467 73source "fs/autofs4/Kconfig"
3ef7784e 74source "fs/fuse/Kconfig"
04578f17 75
f2fbc6c2
RD
76config GENERIC_ACL
77 bool
78 select FS_POSIX_ACL
79
06b3db1b
DH
80menu "Caches"
81
82source "fs/fscache/Kconfig"
9ae326a6 83source "fs/cachefiles/Kconfig"
06b3db1b
DH
84
85endmenu
86
9361401e 87if BLOCK
1da177e4
LT
88menu "CD-ROM/DVD Filesystems"
89
ddfaccd9
AD
90source "fs/isofs/Kconfig"
91source "fs/udf/Kconfig"
1da177e4
LT
92
93endmenu
25fad945 94endif # BLOCK
1da177e4 95
9361401e 96if BLOCK
1da177e4
LT
97menu "DOS/FAT/NT Filesystems"
98
1c6ace01 99source "fs/fat/Kconfig"
3c2a0909 100source "fs/exfat/Kconfig"
9d73ac9e 101source "fs/ntfs/Kconfig"
45e430a1 102source "fs/sdfat/Kconfig"
1da177e4
LT
103
104endmenu
25fad945 105endif # BLOCK
1da177e4
LT
106
107menu "Pseudo filesystems"
108
6eedf8d3 109source "fs/proc/Kconfig"
5f3a211a 110source "fs/sysfs/Kconfig"
1da177e4 111
1da177e4 112config TMPFS
f5fc870d 113 bool "Tmpfs virtual memory file system support (former shm fs)"
3f96b79a 114 depends on SHMEM
1da177e4
LT
115 help
116 Tmpfs is a file system which keeps all files in virtual memory.
117
118 Everything in tmpfs is temporary in the sense that no files will be
119 created on your hard drive. The files live in memory and swap
120 space. If you unmount a tmpfs instance, everything stored therein is
121 lost.
122
123 See <file:Documentation/filesystems/tmpfs.txt> for details.
124
4db70f73
EP
125config TMPFS_POSIX_ACL
126 bool "Tmpfs POSIX Access Control Lists"
127 depends on TMPFS
128 select TMPFS_XATTR
129 select GENERIC_ACL
130 help
206506cc
RD
131 POSIX Access Control Lists (ACLs) support additional access rights
132 for users and groups beyond the standard owner/group/world scheme,
133 and this option selects support for ACLs specifically for tmpfs
134 filesystems.
135
136 If you've selected TMPFS, it's possible that you'll also need
137 this option as there are a number of Linux distros that require
138 POSIX ACL support under /dev for certain features to work properly.
139 For example, some distros need this feature for ALSA-related /dev
140 files for sound to work properly. In short, if you're not sure,
141 say Y.
4db70f73
EP
142
143 To learn more about Access Control Lists, visit the POSIX ACLs for
144 Linux website <http://acl.bestbits.at/>.
145
b09e0fa4
EP
146config TMPFS_XATTR
147 bool "Tmpfs extended attributes"
148 depends on TMPFS
149 default n
150 help
151 Extended attributes are name:value pairs associated with inodes by
152 the kernel or by users (see the attr(5) manual page, or visit
153 <http://acl.bestbits.at/> for details).
154
155 Currently this enables support for the trusted.* and
156 security.* namespaces.
157
b09e0fa4
EP
158 You need this for POSIX ACL support on tmpfs.
159
4db70f73 160 If unsure, say N.
39f0247d 161
1da177e4
LT
162config HUGETLBFS
163 bool "HugeTLB file system support"
5a1eb5c4 164 depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
ffb4a73d 165 SYS_SUPPORTS_HUGETLBFS || BROKEN
dda27d1a
AO
166 help
167 hugetlbfs is a filesystem backing for HugeTLB pages, based on
168 ramfs. For architectures that support it, say Y here and read
169 <file:Documentation/vm/hugetlbpage.txt> for details.
170
171 If unsure, say N.
1da177e4
LT
172
173config HUGETLB_PAGE
174 def_bool HUGETLBFS
175
4591dabe 176source "fs/configfs/Kconfig"
7063fbf2 177
1da177e4
LT
178endmenu
179
67ec7d3a
RD
180menuconfig MISC_FILESYSTEMS
181 bool "Miscellaneous filesystems"
182 default y
183 ---help---
184 Say Y here to get to see options for various miscellaneous
185 filesystems, such as filesystems that came from other
186 operating systems.
187
188 This option alone does not add any kernel code.
189
190 If you say N, all options in this submenu will be skipped and
191 disabled; if unsure, say Y here.
192
193if MISC_FILESYSTEMS
1da177e4 194
bc2de2ae 195source "fs/adfs/Kconfig"
10951bf0 196source "fs/affs/Kconfig"
295c896c 197source "fs/ecryptfs/Kconfig"
b08bac1f
AD
198source "fs/hfs/Kconfig"
199source "fs/hfsplus/Kconfig"
0b09eb32 200source "fs/befs/Kconfig"
0ff42384 201source "fs/bfs/Kconfig"
571f0a0b 202source "fs/efs/Kconfig"
31db6e9e 203source "fs/jffs2/Kconfig"
0d7eff87
AB
204# UBIFS File system configuration
205source "fs/ubifs/Kconfig"
5db53f3e 206source "fs/logfs/Kconfig"
2a22783b 207source "fs/cramfs/Kconfig"
22635ec9 208source "fs/squashfs/Kconfig"
22135169 209source "fs/freevxfs/Kconfig"
8b1cd7d3 210source "fs/minix/Kconfig"
da55e6f9 211source "fs/omfs/Kconfig"
928ea192 212source "fs/hpfs/Kconfig"
4c741583 213source "fs/qnx4/Kconfig"
5d026c72 214source "fs/qnx6/Kconfig"
41810246 215source "fs/romfs/Kconfig"
ca01d6dd 216source "fs/pstore/Kconfig"
8af915ba 217source "fs/sysv/Kconfig"
a276a52f 218source "fs/ufs/Kconfig"
0d8fe329 219source "fs/exofs/Kconfig"
a14d5393 220source "fs/f2fs/Kconfig"
d68772b7 221source "fs/efivarfs/Kconfig"
0c4fb877 222
67ec7d3a 223endif # MISC_FILESYSTEMS
1da177e4 224
831c2dc5
BH
225source "fs/exofs/Kconfig.ore"
226
ea0985ad
JE
227menuconfig NETWORK_FILESYSTEMS
228 bool "Network File Systems"
229 default y
1da177e4 230 depends on NET
ea0985ad
JE
231 ---help---
232 Say Y here to get to see options for network filesystems and
233 filesystem-related networking code, such as NFS daemon and
234 RPCSEC security modules.
6fb1bc10 235
ea0985ad
JE
236 This option alone does not add any kernel code.
237
238 If you say N, all options in this submenu will be skipped and
239 disabled; if unsure, say Y here.
240
241if NETWORK_FILESYSTEMS
1da177e4 242
97afe47a 243source "fs/nfs/Kconfig"
e2b329e2 244source "fs/nfsd/Kconfig"
1da177e4 245
1da177e4
LT
246config LOCKD
247 tristate
dd4dc82d 248 depends on FILE_LOCKING
1da177e4
LT
249
250config LOCKD_V4
251 bool
252 depends on NFSD_V3 || NFS_V3
dd4dc82d 253 depends on FILE_LOCKING
1da177e4
LT
254 default y
255
a257cdd0
AG
256config NFS_ACL_SUPPORT
257 tristate
258 select FS_POSIX_ACL
259
260config NFS_COMMON
261 bool
262 depends on NFSD || NFS_FS
263 default y
264
9098c24f 265source "net/sunrpc/Kconfig"
9030aaf9 266source "fs/ceph/Kconfig"
bb26b963 267source "fs/cifs/Kconfig"
1da177e4 268source "fs/ncpfs/Kconfig"
33a1a6fe 269source "fs/coda/Kconfig"
b2480c7f 270source "fs/afs/Kconfig"
0fcb4408 271source "fs/9p/Kconfig"
93fa58cb 272
ea0985ad 273endif # NETWORK_FILESYSTEMS
1da177e4 274
1da177e4 275source "fs/nls/Kconfig"
e7fd4179 276source "fs/dlm/Kconfig"
1da177e4
LT
277
278endmenu