fs: sdfat: Update to version 2.4.5
[GitHub/LineageOS/android_kernel_samsung_universal7580.git] / fs / sdfat / Kconfig
1 config SDFAT_FS
2 tristate "sdFAT filesystem support"
3 default y
4 select NLS
5 select NLS_UTF8
6 select NLS_CODEPAGE_437
7 select NLS_ISO8859_1
8 help
9 If you want to use the sdFAT file system, then you must say Y or M
10 here to inlucde sdFAT support.
11 sdFAT is unified FAT-based file system which supports not only fat12/
12 16/32 with vfat but also exfat. sdFAT supports winnt short-name rule.
13 (winnt: emulate the Windows NT rule for display/create.)
14
15 To compile this as a module, choose M here: the module will be called
16 sdfat_core and sdfat_fs.
17
18 config SDFAT_USE_FOR_EXFAT
19 bool "Register sdFAT as exFAT"
20 default y
21 depends on SDFAT_FS && !EXFAT_FS
22 help
23 If you want to register sdFAT as available for exFAT, say Y.
24
25 config SDFAT_USE_FOR_VFAT
26 bool "Register sdFAT as VFAT"
27 default y
28 depends on SDFAT_FS && !VFAT_FS
29 help
30 If you want to register sdFAT as available for VFAT, say Y.
31
32 config SDFAT_DELAYED_META_DIRTY
33 bool "Enable delayed metadata dirty"
34 default y
35 depends on SDFAT_FS
36 help
37 If you enable this feature, metadata(FAT/Directory entry) is updated
38 by flush thread.
39
40 config SDFAT_SUPPORT_DIR_SYNC
41 bool "Enable supporting dir sync"
42 default n
43 depends on SDFAT_FS
44 help
45 If you enable this feature, the modification for directory operation
46 is written to a storage at once.
47
48 config SDFAT_DEFAULT_CODEPAGE
49 int "Default codepage for sdFAT"
50 default 437
51 depends on SDFAT_FS
52 help
53 This option should be set to the codepage of your sdFAT filesystems.
54
55 config SDFAT_DEFAULT_IOCHARSET
56 string "Default iocharset for sdFAT"
57 default "utf8"
58 depends on SDFAT_FS
59 help
60 Set this to the default input/output character set you'd
61 like sdFAT to use. It should probably match the character set
62 that most of your sdFAT filesystems use, and can be overridden
63 with the "iocharset" mount option for sdFAT filesystems.
64
65 config SDFAT_CHECK_RO_ATTR
66 bool "Check read-only attribute"
67 default n
68 depends on SDFAT_FS
69
70 config SDFAT_ALIGNED_MPAGE_WRITE
71 bool "Enable supporting aligned mpage_write"
72 default y if SDFAT_FS=y
73 default n if SDFAT_FS=m
74 depends on SDFAT_FS
75
76 config SDFAT_VIRTUAL_XATTR
77 bool "Virtual xattr support for sdFAT"
78 default n
79 depends on SDFAT_FS
80 help
81 If you enable this feature, it supports virtual xattr.
82 This feature will be deprecated because it might be the same with
83 "context" mount option.
84
85 config SDFAT_VIRTUAL_XATTR_SELINUX_LABEL
86 string "Default string for SELinux label"
87 default "u:object_r:sdcard_external:s0"
88 depends on SDFAT_FS && SDFAT_VIRTUAL_XATTR
89 help
90 Set this to the default string for SELinux label.
91
92 config SDFAT_SUPPORT_STLOG
93 bool "Enable storage log"
94 default y
95 depends on SDFAT_FS && PROC_STLOG
96
97 config SDFAT_DEBUG
98 bool "enable debug features"
99 depends on SDFAT_FS
100 default y
101
102 config SDFAT_DBG_IOCTL
103 bool "enable debug-ioctl features"
104 depends on SDFAT_FS && SDFAT_DEBUG
105 default n
106
107 config SDFAT_DBG_MSG
108 bool "enable debug messages"
109 depends on SDFAT_FS && SDFAT_DEBUG
110 default y
111
112 config SDFAT_DBG_BUGON
113 bool "enable strict BUG_ON() for debugging"
114 depends on SDFAT_FS && SDFAT_DEBUG
115 default n
116
117 config SDFAT_DBG_WARNON
118 bool "enable strict WARN_ON() for debugging"
119 depends on SDFAT_FS && SDFAT_DEBUG
120 default n
121
122 config SDFAT_STATISTICS
123 bool "enable statistics for bigdata"
124 depends on SDFAT_FS
125 default y
126
127 config SDFAT_UEVENT
128 bool "Enable uevent"
129 depends on SDFAT_FS
130 default y