Commit 2a3db1e
Jaegeuk Kim
f2fs: allow empty mount string for Opt_usr|grp|projjquota
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 <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>1 parent 0196816 commit 2a3db1e
1 file changed
Lines changed: 15 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
339 | | - | |
340 | | - | |
341 | | - | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
342 | 345 | | |
343 | 346 | | |
344 | 347 | | |
| |||
979 | 982 | | |
980 | 983 | | |
981 | 984 | | |
982 | | - | |
983 | | - | |
984 | | - | |
| 985 | + | |
985 | 986 | | |
| 987 | + | |
| 988 | + | |
986 | 989 | | |
987 | 990 | | |
988 | 991 | | |
989 | 992 | | |
990 | | - | |
991 | | - | |
992 | | - | |
| 993 | + | |
993 | 994 | | |
| 995 | + | |
| 996 | + | |
994 | 997 | | |
995 | 998 | | |
996 | 999 | | |
997 | 1000 | | |
998 | | - | |
999 | | - | |
1000 | | - | |
| 1001 | + | |
1001 | 1002 | | |
| 1003 | + | |
| 1004 | + | |
1002 | 1005 | | |
1003 | 1006 | | |
1004 | 1007 | | |
| |||
0 commit comments