Skip to content

Fix 64-bit type conversion issues in e2fsck

Theodore Ts'o linux-ext4 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10e2fsck: use problem_t to suppress some -Wconversion warningse2fsck/pass1.c e2fsck/pass2.c e2fsck/pass5.c+15 -130 replies
2/10e2fsck: use errcode_t to suppress some -Wconversion warningse2fsck/e2fsck.h e2fsck/journal.c e2fsck/pass1b.c +3 more+22 -220 replies
3/10e2fsck: use blk_t instead of blk64_t in check_resize_inode()e2fsck/super.c+1 -10 replies
4/10dumpe2fs: fix printing of block offsets for 64-bit file systemsmisc/dumpe2fs.c+1 -10 replies
5/10libext2fs: add explicit casts to ext2fs.hlib/ext2fs/ext2fs.h+5 -53 replies
6/10libext2fs: add explicit casts to bitops.hlib/ext2fs/bitops.h+9 -90 replies
7/10e2fsck: fix j_maxlen if the file system is exactly 1 << 32 blockse2fsck/journal.c+3 -40 replies
8/10e2fsck: add support for 64-bit extended attribute block refcountinge2fsck/e2fsck.h e2fsck/ea_refcount.c+14 -150 replies
9/10e2fsck: use dgrp_t for block group numberse2fsck/journal.c e2fsck/message.c e2fsck/pass1.c +4 more+19 -160 replies
10/10libext2fs: fix printf conversion spec in tst_iscan.clib/ext2fs/tst_iscan.c+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 [PATCH 00/10] Fix 64-bit type conversion issues in e2fsck

This should fix most of the 64-bit type conversion issues in e2fsck. Thanks to Kit Westneat for pointing out that we might have some problems in this area.

- Ted

Eric Whitney (1):
libext2fs: fix printf conversion spec in tst_iscan.c

Theodore Ts'o (9):
e2fsck: use problem_t to suppress some -Wconversion warnings
e2fsck: use errcode_t to suppress some -Wconversion warnings
e2fsck: use blk_t instead of blk64_t in check_resize_inode()
dumpe2fs: fix printing of block offsets for 64-bit file systems
libext2fs: add explicit casts to ext2fs.h
libext2fs: add explicit casts to bitops.h
e2fsck: fix j_maxlen if the file system is exactly 1 << 32 blocks
e2fsck: add support for 64-bit extended attribute block refcounting
e2fsck: use dgrp_t for block group numbers

 e2fsck/e2fsck.h        | 15 +++++++--------
 e2fsck/ea_refcount.c   | 18 +++++++++---------
 e2fsck/journal.c       | 30 +++++++++++++++---------------
 e2fsck/message.c       |  2 +-
 e2fsck/pass1.c         | 16 +++++++++-------
 e2fsck/pass1b.c        |  8 ++++----
 e2fsck/pass2.c         | 14 +++++++-------
 e2fsck/pass4.c         |  2 +-
 e2fsck/pass5.c         | 24 +++++++++++++-----------
 e2fsck/problem.h       |  2 +-
 e2fsck/rehash.c        |  2 +-
 e2fsck/super.c         |  2 +-
 e2fsck/unix.c          |  2 +-
 e2fsck/util.c          |  8 ++++----
 lib/ext2fs/bitops.h    | 18 +++++++++---------
 lib/ext2fs/ext2fs.h    | 10 +++++-----
 lib/ext2fs/tst_iscan.c |  2 +-
 misc/dumpe2fs.c        |  2 +-
 18 files changed, 90 insertions(+), 87 deletions(-)
Signature · 1 line
1.8.5.rc3.362.gdf10213