[PATCH 0/6] Clean up error handling in fs/ext4/namei.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux