Linux-EROFS Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jingbo Xu <jefflexu@linux.alibaba.com>
To: hsiangkao@linux.alibaba.com, chao@kernel.org, huyue2@coolpad.com,
	linux-erofs@lists.ozlabs.org, xiang@kernel.org
Subject: [PATCH v2 0/2] erofs-utils: introduce tarerofs
Date: Thu, 13 Jul 2023 20:00:13 +0800	[thread overview]
Message-ID: <20230713120015.93308-1-jefflexu@linux.alibaba.com> (raw)

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/20230711061240.23662-1-jefflexu@linux.alibaba.com/

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

-- 
1.8.3.1


             reply	other threads:[~2023-07-13 12:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-13 12:00 Jingbo Xu [this message]
2023-07-13 12:00 ` [PATCH v2 1/2] erofs-utils: add ERR_CAST macro Jingbo Xu
2023-07-13 12:00 ` [PATCH v2 2/2] erofs-utils: introduce tarerofs Jingbo Xu
2023-07-14  6:42   ` Gao Xiang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230713120015.93308-1-jefflexu@linux.alibaba.com \
    --to=jefflexu@linux.alibaba.com \
    --cc=chao@kernel.org \
    --cc=hsiangkao@linux.alibaba.com \
    --cc=huyue2@coolpad.com \
    --cc=linux-erofs@lists.ozlabs.org \
    --cc=xiang@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox