linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] Clean up error handling in fs/ext4/namei.c
@ 2014-08-22  7:29 Theodore Ts'o
  2014-08-22  7:29 ` [PATCH 1/6] ext4: propagate errors up to ext4_find_entry()'s callers Theodore Ts'o
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Theodore Ts'o @ 2014-08-22  7:29 UTC (permalink / raw)
  To: Ext4 Developers List; +Cc: Theodore Ts'o

This patch series cleans up the error handling in ext4's namei.c file to
use the ERR_PTR convention intead of using a separate int * to return
the error code.  (This code comes from ext3 and predates the
introduction of the ERR_PTR coding convention).

Theodore Ts'o (6):
  ext4: propagate errors up to ext4_find_entry()'s callers
  ext4: convert ext4_dx_find_entry() to use the ERR_PTR convention
  ext4: change ext4_getblk() to use the ERR_PTR convention
  ext4: convert ext4_bread() to use the ERR_PTR convention
  ext4: convert dx_probe() to use ERR_PTR convention
  ext4: convert do_split() to use ERR_PTR convention

 fs/ext4/dir.c   |   8 +--
 fs/ext4/ext4.h  |   6 +-
 fs/ext4/inode.c |  55 +++++++--------
 fs/ext4/namei.c | 210 +++++++++++++++++++++++++++++---------------------------
 fs/ext4/super.c |  18 +++--
 5 files changed, 145 insertions(+), 152 deletions(-)

-- 
2.1.0


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

end of thread, other threads:[~2014-08-22  7:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-22  7:29 [PATCH 0/6] Clean up error handling in fs/ext4/namei.c Theodore Ts'o
2014-08-22  7:29 ` [PATCH 1/6] ext4: propagate errors up to ext4_find_entry()'s callers Theodore Ts'o
2014-08-22  7:29 ` [PATCH 2/6] ext4: convert ext4_dx_find_entry() to use the ERR_PTR convention Theodore Ts'o
2014-08-22  7:29 ` [PATCH 3/6] ext4: change ext4_getblk() " Theodore Ts'o
2014-08-22  7:29 ` [PATCH 4/6] ext4: convert ext4_bread() " Theodore Ts'o
2014-08-22  7:29 ` [PATCH 5/6] ext4: convert dx_probe() to use " Theodore Ts'o
2014-08-22  7:29 ` [PATCH 6/6] ext4: convert do_split() " Theodore 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).