Skip to content

Make f2fs-tools easier to maintain

Bart Van Assche linux-f2fs-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest31 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/31configure.ac: Stop using obsolete macrosconfigure.ac+2 -20 replies
2/31configure.ac: Remove two prototype testsconfigure.ac+0 -250 replies
3/31configure.ac: Enable the automake -Wall optionconfigure.ac+2 -10 replies
4/31configure.ac: Sort header file names alphabeticallyconfigure.ac+2 -20 replies
5/31configure.ac: Enable cross-compilationREADME configure.ac mkfs/f2fs_format.c +2 more+24 -320 replies
6/31Switch from the u_int to the uint typesfsck/fsck.c fsck/mount.c fsck/resize.c +10 more+167 -1710 replies
7/31Change the ANDROID_WINDOWS_HOST macro into _WIN32lib/libf2fs.c lib/libf2fs_io.c lib/libf2fs_zoned.c +3 more+13 -131 reply
8/31ci: Build f2fstools upon push and pull requests.github/workflows/ci.yml+70 -00 replies
9/31Change one array member into a flexible array memberfsck/f2fs.h include/f2fs_fs.h+3 -30 replies
10/31Verify structure sizes at compile timefsck/quotaio.c fsck/quotaio_tree.h fsck/quotaio_v2.h +4 more+77 -02 replies
11/31Suppress a compiler warningfsck/segment.c+1 -10 replies
12/31f2fs_fs.h: Use standard fixed width integer typesfsck/mount.c include/f2fs_fs.h+9 -90 replies
13/31Remove unnecessary __attribute__((packed)) annotationsfsck/quotaio.c fsck/quotaio_tree.h fsck/quotaio_v2.h +4 more+37 -400 replies
14/31Move the be32_to_cpu() definitionfsck/quotaio.h include/f2fs_fs.h+2 -20 replies
15/31Include <stddef.h> instead of defining offsetof()fsck/f2fs.h include/f2fs_fs.h+2 -50 replies
16/31Use %zu to format size_tfsck/mount.c+2 -20 replies
17/31Fix the MinGW buildconfigure.ac fsck/Makefile.am fsck/dir.c +11 more+108 -180 replies
18/31configure.ac: Detect the sparse/sparse.h headerconfigure.ac lib/libf2fs_io.c mkfs/f2fs_format_main.c+7 -61 reply
19/31configure.ac: Detect selinux/android.hconfigure.ac fsck/sload.c+3 -20 replies
20/31mkfs/f2fs_format.c: Suppress a compiler warningmkfs/f2fs_format.c+1 -10 replies
21/31fsck: Remove a superfluous include directivefsck/main.c+0 -50 replies
22/31tools/f2fscrypt.c: Fix build without uuid/uuid.h header filetools/f2fscrypt.c+6 -00 replies
23/31fsck/main.c: Suppress a compiler warningfsck/main.c+2 -00 replies
24/31Change #ifdef _WIN32 checks into #ifdef HAVE_.*configure.ac lib/libf2fs.c lib/libf2fs_io.c +4 more+22 -90 replies
25/31fsck/segment.c: Remove dead codefsck/segment.c+0 -10 replies
26/31tools/f2fs_io: Fix the type of 'ret'tools/f2fs_io/f2fs_io.c+9 -10 replies
27/31Annotate switch/case fallthroughfsck/fsck.c fsck/main.c include/f2fs_fs.h +1 more+9 -00 replies
28/31Suppress a compiler warning about integer truncationinclude/f2fs_fs.h+12 -120 replies
29/31Support cross-compiliation for PowerPCmkfs/f2fs_format.c tools/f2fscrypt.c+3 -30 replies
30/31Fix PowerPC format string warningsinclude/f2fs_fs.h tools/f2fs_io/f2fs_io.c+7 -30 replies
31/31ci: Enable -Wall, -Wextra and -Werror.github/workflows/ci.yml+1 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [f2fs-dev] [PATCH 00/31] Make f2fs-tools easier to maintain

Hi Jaegeuk,

This patch series should make f2fs-tools easier to maintain and fixes a few smaller bugs. Although these patches have been compile-tested only, please consider these patches for the upstream f2fs-tools repository.

Thanks,

Bart.

Bart Van Assche (31):
configure.ac: Stop using obsolete macros configure.ac: Remove two prototype tests configure.ac: Enable the automake -Wall option configure.ac: Sort header file names alphabetically configure.ac: Enable cross-compilation
Switch from the u_int to the uint types
Change the ANDROID_WINDOWS_HOST macro into _WIN32
ci: Build f2fstools upon push and pull requests Change one array member into a flexible array member Verify structure sizes at compile time
Suppress a compiler warning
f2fs_fs.h: Use standard fixed width integer types Remove unnecessary __attribute__((packed)) annotations Move the be32_to_cpu() definition
Include <stddef.h> instead of defining offsetof() Use %zu to format size_t
Fix the MinGW build
configure.ac: Detect the sparse/sparse.h header configure.ac: Detect selinux/android.h mkfs/f2fs_format.c: Suppress a compiler warning
fsck: Remove a superfluous include directive tools/f2fscrypt.c: Fix build without uuid/uuid.h header file fsck/main.c: Suppress a compiler warning
Change #ifdef _WIN32 checks into #ifdef HAVE_.* fsck/segment.c: Remove dead code
tools/f2fs_io: Fix the type of 'ret'
Annotate switch/case fallthrough
Suppress a compiler warning about integer truncation Support cross-compiliation for PowerPC
Fix PowerPC format string warnings
ci: Enable -Wall, -Wextra and -Werror

 .github/workflows/ci.yml |  70 ++++++++++
 README                   |   1 -
 configure.ac             | 131 +++++++++++--------
 fsck/Makefile.am         |   2 +-
 fsck/dir.c               |   8 ++
 fsck/f2fs.h              |  14 +-
 fsck/fsck.c              |   5 +-
 fsck/main.c              |  21 ++-
 fsck/mount.c             |  54 ++++----
 fsck/quotaio.c           |   4 +-
 fsck/quotaio.h           |   3 -
 fsck/quotaio_tree.h      |   4 +-
 fsck/quotaio_v2.h        |  12 +-
 fsck/resize.c            |  28 ++--
 fsck/segment.c           |   3 +-
 fsck/sload.c             |  15 ++-
 fsck/xattr.h             |   4 +-
 include/f2fs_fs.h        | 276 +++++++++++++++++++++++----------------
 include/quota.h          |  30 +++--
 lib/libf2fs.c            |  34 ++---
 lib/libf2fs_io.c         |  24 ++--
 lib/libf2fs_zoned.c      |  18 +--
 mkfs/f2fs_format.c       |  95 ++++++++------
 mkfs/f2fs_format_main.c  |  12 +-
 mkfs/f2fs_format_utils.c |   9 +-
 mkfs/f2fs_format_utils.h |   2 +-
 tools/Makefile.am        |   5 +-
 tools/f2fs_io/f2fs_io.c  |  26 +++-
 tools/f2fs_io/f2fs_io.h  |   8 +-
 tools/f2fscrypt.c        |  19 ++-
 tools/fibmap.c           |   2 +
 31 files changed, 586 insertions(+), 353 deletions(-)
 create mode 100644 .github/workflows/ci.yml

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel