Skip to content

erofs-utils: introduce tarerofs

Jingbo Xu linux-erofs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 1 replySuperseded

Changes in v2 from the cover letter

- patch 2
- refactor tarerofs_mkdir() and rename to tarerofs_init_default_dir()
- check return value of erofs_d_alloc() in tarerofs_get_dentry()
- recalculate directory's i_nlink in tarerofs_dump_tree(), otherwise directory's i_nlink is always 2
- don't fail in tarerofs_parse_tar() when st_size of symlink file is exactly 4096 (same as PATH_MAX)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2erofs-utils: add ERR_CAST macroinclude/erofs/err.h+6 -00 replies
2/2erofs-utils: introduce tarerofsconfigure.ac include/erofs/blobchunk.h include/erofs/inode.h +9 more+1185 -1061 reply

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/2] erofs-utils: introduce tarerofs

v2:
- patch 2
- refactor tarerofs_mkdir() and rename to tarerofs_init_default_dir()
- check return value of erofs_d_alloc() in tarerofs_get_dentry()
- recalculate directory's i_nlink in tarerofs_dump_tree(), otherwise directory's i_nlink is always 2
- don't fail in tarerofs_parse_tar() when st_size of symlink file is exactly 4096 (same as PATH_MAX)

v1: https://lore.kernel.org/all/[email protected]/

Gao Xiang (1):
erofs-utils: introduce tarerofs

Jingbo Xu (1):
erofs-utils: add ERR_CAST macro

 configure.ac              |   1 +
 include/erofs/blobchunk.h |   4 +-
 include/erofs/err.h       |   6 +
 include/erofs/inode.h     |  12 +
 include/erofs/internal.h  |   7 +-
 include/erofs/tar.h       |  29 ++
 include/erofs/xattr.h     |   4 +
 lib/Makefile.am           |   3 +-
 lib/blobchunk.c           |  47 ++-
 lib/inode.c               | 194 ++++++++---
 lib/tar.c                 | 810 ++++++++++++++++++++++++++++++++++++++++++++++
 lib/xattr.c               |  46 ++-
 mkfs/main.c               | 134 +++++---
 13 files changed, 1191 insertions(+), 106 deletions(-)
 create mode 100644 include/erofs/tar.h
 create mode 100644 lib/tar.c
Signature · 1 line
1.8.3.1