Skip to content
Commit 0ecaef06 authored by Guo Chao's avatar Guo Chao Committed by Theodore Ts'o
Browse files

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: default avatarGuo Chao <yan@linux.vnet.ibm.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: default avatarDarrick J. Wong <darrick.wong@oracle.com&gt;->
Cc: stable@vger.kernel.org
--
 fs/ext4/namei.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
parent 96465efe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment