fs_parser: handle parameters that can be empty and don't have a value
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 12 repliesIn review
- v13 patches 18 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | fs_parser: add helper to define parameters with string and flag typesinclude/ | +8 | 0 replies | |
| 2/3 | ext4: fix the parsing of empty string mount parametersfs/ | +10 | 0 replies | |
| 3/3 | ovl: fix the parsing of empty string mount parametersfs/ | +5 | 12 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] fs_parser: handle parameters that can be empty and don't have a value
While investigating an ext4/053 fstest failure, I realised that there was an issue when the flag 'fs_param_can_be_empty' is set in a parameter and it doesn't have a value
After an initial attempt to fix the issue, Christian suggested a different approach and the following patches are based in his suggestion.
Another change that I'm introducing in this v2 is the change of parameter 'test_dummy_encryption' to also use the new helper introduced by the first patch in this series.
Finally, I'd like to ask someone to look closer at the overlayfs patch as I don't think there were any fstests to validate the case where 'lowerdir' is empty.
Luis Henriques (3):
fs_parser: add helper to define parameters with string and flag types
ext4: fix the parsing of empty string mount parameters
ovl: fix the parsing of empty string mount parameters
fs/ext4/super.c | 25 ++++++++++--------------- fs/overlayfs/params.c | 13 +++++-------- include/linux/fs_parser.h | 8 ++++++++ 3 files changed, 23 insertions(+), 23 deletions(-)