linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/15] e2fsprogs cleanups
@ 2010-11-29  8:55 Namhyung Kim
  2010-11-29  8:55 ` [PATCH 01/15 RESEND] libext2fs: fix potential build failure with OMIT_COM_ERR Namhyung Kim
                   ` (14 more replies)
  0 siblings, 15 replies; 44+ messages in thread
From: Namhyung Kim @ 2010-11-29  8:55 UTC (permalink / raw)
  To: Theodore Tso; +Cc: linux-ext4

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(-)


^ permalink raw reply	[flat|nested] 44+ messages in thread

end of thread, other threads:[~2010-12-22 15:43 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-29  8:55 [PATCH 00/15] e2fsprogs cleanups Namhyung Kim
2010-11-29  8:55 ` [PATCH 01/15 RESEND] libext2fs: fix potential build failure with OMIT_COM_ERR Namhyung Kim
2010-12-20 15:04   ` [01/15, " Ted Ts'o
2010-11-29  8:55 ` [PATCH 02/15 RESEND] libext2fs: fix dubious code in ext2fs_numeric_progress_init() Namhyung Kim
2010-12-20 15:04   ` [02/15, " Ted Ts'o
2010-11-29  8:55 ` [PATCH 03/15] mke2fs: simplify inode table block counting Namhyung Kim
2010-11-30 12:01   ` Lukas Czerner
2010-12-01 11:49     ` Namhyung Kim
2010-12-20 15:44       ` Ted Ts'o
2010-11-29  8:55 ` [PATCH 04/15] libext2fs: remove unnecessary casts to ext2fs_generic_bitmap Namhyung Kim
2010-12-20 15:50   ` Ted Ts'o
2010-11-29  8:55 ` [PATCH 05/15] libext2fs: fix dubious code in ext2fs_unmark_generic_bitmap() Namhyung Kim
2010-12-20 15:54   ` Ted Ts'o
2010-11-29  8:55 ` [PATCH 06/15] libext2fs: invalid EXT4_FEATURE_RO_COMPAT_HUGE_FILE checks Namhyung Kim
2010-12-20 15:55   ` Ted Ts'o
2010-11-29  8:55 ` [PATCH 07/15] libext2fs: fix error path in ext2fs_update_bb_inode() Namhyung Kim
2010-12-20 16:01   ` Ted Ts'o
2010-11-29  8:55 ` [PATCH 08/15] libext2fs: fix memory leak on error path Namhyung Kim
2010-11-30 12:23   ` Lukas Czerner
2010-12-21 23:06   ` Ted Ts'o
2010-11-29  8:55 ` [PATCH 09/15] mke2fs: check return value of e2p_os2string() Namhyung Kim
2010-12-21 23:13   ` Ted Ts'o
2010-11-29  8:55 ` [PATCH 10/15] mke2fs.8.in: add missing "big" and "huge" usage-type description Namhyung Kim
2010-12-21 23:45   ` Ted Ts'o
2010-11-29  8:55 ` [PATCH 11/15] mke2fs: fix determination of size_type Namhyung Kim
2010-11-30 12:33   ` Lukas Czerner
2010-12-01 12:37     ` Namhyung Kim
2010-12-01 15:46       ` Lukas Czerner
2010-12-21 23:45         ` Ted Ts'o
2010-11-29  8:55 ` [PATCH 12/15] mke2fs: add some error checks into PRS() Namhyung Kim
2010-11-30 12:46   ` Lukas Czerner
2010-12-01 12:03     ` Namhyung Kim
2010-12-16  9:40       ` [PATCH v2 " Namhyung Kim
2010-12-16 12:19         ` Lukas Czerner
2010-12-22  1:34         ` Ted Ts'o
2010-11-29  8:55 ` [PATCH 13/15] mke2fs: fix potential memory leak in mke2fs_setup_tdb() Namhyung Kim
2010-11-30 13:02   ` Lukas Czerner
2010-12-01 12:32     ` Namhyung Kim
2010-12-16  9:42       ` [PATCH v2 " Namhyung Kim
2010-12-16 12:21         ` Lukas Czerner
2010-11-29  8:55 ` [PATCH 14/15] libext2fs: fix possible memory leak in write_journal_inode() Namhyung Kim
2010-12-22 15:43   ` Ted Ts'o
2010-11-29  8:55 ` [PATCH 15/15] mke2fs.8.in: add ENVIRONMENT section Namhyung Kim
2010-12-22 15:43   ` Ted Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).