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)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 7 Jan 2013 04:38:47 +0000 (23:38 -0500)
commit0ecaef0644973e9006fdbc6974301047aaff9bc6
tree8c0b65a4401435ee094c00e7a09bce81f4b90685
parent96465efee14ecca0cdffcb09f9903635db8fc504
ext4: release buffer in failed path in dx_probe()

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>-
Cc: stable@vger.kernel.org
--
 fs/ext4/namei.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ext4/namei.c