aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/filesystem.txt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-04-29 11:53:33 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-04-29 12:04:22 +0200
commitdba54bc2b8097448f7e91364e891c5e2675d8622 (patch)
tree8ee1864d5cbec14b4a4ba70cd4c067fa83407e27 /sys/linux/filesystem.txt
parent1e85f7b9af8e29f06a22eb1ff325de2a40072738 (diff)
sys/linux: refactor some flags to use char consts
Diffstat (limited to 'sys/linux/filesystem.txt')
-rw-r--r--sys/linux/filesystem.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/linux/filesystem.txt b/sys/linux/filesystem.txt
index 1981512c8..ed8e9b291 100644
--- a/sys/linux/filesystem.txt
+++ b/sys/linux/filesystem.txt
@@ -72,10 +72,8 @@ type fs_opt_filename[NAME] fs_opt[NAME, stringnoz[filename]]
type fs_opt_codepage[NAME] fs_opt[NAME, stringnoz[codepages_names]]
type fs_opt_cp_num[NAME] fs_opt[NAME, stringnoz[codepage_nums]]
-# '-', 'x' and digits
-fs_opt_digits = 45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57
-# the same bug with k/m/g/t/p/e for suffixes
-fs_opt_digits_suffix = 45, 120, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 107, 109, 103, 116, 112, 101
+fs_opt_digits = '-', 'x', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'
+fs_opt_digits_suffix = '-', 'x', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'k', 'm', 'g', 't', 'p', 'e'
vfat_options [
check_relaxed stringnoz["check=relaxed"]