Commit 2b0ae4b
f2fs: allow empty mount string for Opt_usr|grp|projjquota
[ Upstream commit 2a3db1e ]
The fsparam_string_empty() gives an error when mounting without string, since
its type is set to fsparam_flag in VFS. So, let's allow the flag as well.
This addresses xfstests/f2fs/015 and f2fs/021.
Fixes: d185351 ("f2fs: separate the options parsing and options checking")
Reviewed-by: Daeho Jeong <daehojeong@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 1c5973c commit 2b0ae4b
1 file changed
Lines changed: 15 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
289 | | - | |
290 | | - | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
291 | 294 | | |
292 | 295 | | |
293 | 296 | | |
| |||
931 | 934 | | |
932 | 935 | | |
933 | 936 | | |
934 | | - | |
935 | | - | |
936 | | - | |
| 937 | + | |
937 | 938 | | |
| 939 | + | |
| 940 | + | |
938 | 941 | | |
939 | 942 | | |
940 | 943 | | |
941 | 944 | | |
942 | | - | |
943 | | - | |
944 | | - | |
| 945 | + | |
945 | 946 | | |
| 947 | + | |
| 948 | + | |
946 | 949 | | |
947 | 950 | | |
948 | 951 | | |
949 | 952 | | |
950 | | - | |
951 | | - | |
952 | | - | |
| 953 | + | |
953 | 954 | | |
| 955 | + | |
| 956 | + | |
954 | 957 | | |
955 | 958 | | |
956 | 959 | | |
| |||
0 commit comments