Skip to content

Two more metadata parser fixes

Cyril Hrubis ltp 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v12 patches 7 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2metadata: data_storage: Fix hash to json object serializationmetadata/data_storage.h+4 -40 replies
2/2metaparse: Map arrays with designated initializers to JSON objectsmetadata/data_storage.h metadata/metaparse.c+139 -233 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [LTP] [PATCH v2 0/2] Two more metadata parser fixes

This series fixes a metadata parser for the ".filesystems" entry of the tst_test structure. First patch fixes the data storage to JSON serialization and second patch changes the parser to convert structure intialization with only designated initializers into a hash (object) rather than an arrray.

V2: Fixed corner case in structure parsing as reported by Andrea

Cyril Hrubis (2):
metadata: data_storage: Fix hash to json object serialization
metaparse: Map arrays with designated initializers to JSON objects

 metadata/data_storage.h |  28 ++++++--
 metadata/metaparse.c    | 142 +++++++++++++++++++++++++++++++++-------
 2 files changed, 143 insertions(+), 27 deletions(-)
Signature · 5 lines
2.49.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp