e2fsprogs cleanups
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
Reviews trailers per patch
2 of 15 patches have a Reviewed-by or Acked-by.
| Patch | Lukas Czerner |
|---|---|
| 1/15 | |
| 2/15 | |
| 3/15 | |
| 4/15 | |
| 5/15 | |
| 6/15 | |
| 7/15 | |
| 8/15 | |
| 9/15 | |
| 10/15 | |
| 11/15 | |
| 12/15 | R-b |
| 13/15 | R-b |
| 14/15 | |
| 15/15 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/15] e2fsprogs cleanups
Hi,
This is a series of small patches that I found during reading the mke2fs code. Most of them are fix of (potential) memory leaks and addition of more error checks. Plus a couple of dubious code fix and trivial cleanups. The man page of mke2fs also be updated.
Any comments/suggestions are welcomed.
Thanks.
---
Namhyung Kim (15):
libext2fs: fix potential build failure with OMIT_COM_ERR
libext2fs: fix dubious code in ext2fs_numeric_progress_init()
mke2fs: simplify inode table block counting
libext2fs: remove unnecessary casts to ext2fs_generic_bitmap
libext2fs: fix dubious code in ext2fs_unmark_generic_bitmap()
libext2fs: invalid EXT4_FEATURE_RO_COMPAT_HUGE_FILE checks
libext2fs: fix error path in ext2fs_update_bb_inode()
libext2fs: fix memory leak on error path
mke2fs: check return value of e2p_os2string() mke2fs.8.in: add missing "big" and "huge" usage-type description
mke2fs: fix determination of size_type
mke2fs: add some error checks into PRS()
mke2fs: fix potential memory leak in mke2fs_setup_tdb()
libext2fs: fix possible memory leak in write_journal_inode() mke2fs.8.in: add ENVIRONMENT section
lib/ext2fs/bb_inode.c | 6 ++- lib/ext2fs/blknum.c | 4 +- lib/ext2fs/gen_bitmap.c | 14 ++++---- lib/ext2fs/gen_bitmap64.c | 69 +++++++++++++++++---------------------------- lib/ext2fs/inode_io.c | 4 ++- lib/ext2fs/mkjournal.c | 1 + lib/ext2fs/progress.c | 2 +- misc/mke2fs.8.in | 34 +++++++++++++++++++++- misc/mke2fs.c | 52 ++++++++++++++++++++++++---------- 9 files changed, 114 insertions(+), 72 deletions(-)