]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ext4: Fix memory and buffer head leak in callers to ext4_ext_find_extent()
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Mon, 25 Feb 2008 21:54:37 +0000 (16:54 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 25 Feb 2008 21:54:37 +0000 (16:54 -0500)
commitb35905c16ad6428551eb9e49525011bd2700cf56
tree155ae1b76392b38a6079dcc5de15b123b3c20953
parent4cdeed861b5f797b3fa661eb331a6bd6ad669c6a
ext4: Fix memory and buffer head leak in callers to ext4_ext_find_extent()

The path variable returned via ext4_ext_find_extent is a kmalloc
variable and needs to be freeded.  It also contains a reference to
buffer_head which needs to be dropped.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/extents.c
fs/ext4/migrate.c
include/linux/ext4_fs_extents.h