Skip to content

Fix portability issues on MacOS

Theodore Ts'o linux-ext4 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3libsupport: fix portability issues with the bthread.cconfigure configure.ac lib/config.h.in +1 more+32 -114 replies
2/3libsupport: add a portable get_thread_id() functionconfigure configure.ac lib/config.h.in +4 more+74 -31 reply
3/3fuse2fs: fix build failure on systems which don't define EUCLEANmisc/fuse2fs.c+2 -01 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchDarrick J. Wong
1/3
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH -e2fsprogs 0/3] Fix portability issues on MacOS

The recent fuse2fs changes introduced some portability issues; fix them so that e2fsprogs can build on MacOS and create a fuse2fs binary that works on MacOS 26.3.1 using MacFuse.

Note: the f_opt_extent test is failing on Github Actions when testing on MacOS. All of the tests are passing clean up my MacOS laptop. So I'm not sure where the github action failure is coming from.

Theodore Ts'o (3):
libsupport: fix portability issues with the bthread.c
libsupport: add a portable get_thread_id() function
fuse2fs: fix build failure on systems which don't define EUCLEAN

 configure               | 18 ++++++++++++++++++
 configure.ac            |  3 +++
 lib/config.h.in         | 30 +++++++++++++++++++++---------
 lib/support/Makefile.in | 13 +++++++++++--
 lib/support/bthread.c   | 12 ++++++++++--
 lib/support/thread.c    | 36 ++++++++++++++++++++++++++++++++++++
 lib/support/thread.h    |  5 +++++
 misc/fuse2fs.c          |  5 ++++-
 8 files changed, 108 insertions(+), 14 deletions(-)
 create mode 100644 lib/support/thread.c
 create mode 100644 lib/support/thread.h
Signature · 1 line
2.51.0