]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ext4: release buffer in failed path in dx_probe()
authorGuo Chao <yan@linux.vnet.ibm.com>
Mon, 7 Jan 2013 04:38:47 +0000 (23:38 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 16:46:23 +0000 (08:46 -0800)
commit4a2113ba833fdc4d1800ad9c7fafaad23bfb4b54
tree9a0e068dda2be0b0e6fc01f5c5496e9505410dc8
parentd8403e29336c9c1ea90d2ed16b1534482979f1aa
ext4: release buffer in failed path in dx_probe()

commit 0ecaef0644973e9006fdbc6974301047aaff9bc6 upstream.

If checksum fails, we should also release the buffer
read from previous iteration.

Signed-off-by: Guo Chao <yan@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: "Darrick J. Wong" <darrick.wong@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/namei.c