]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: release buffer when checksum failed
authorGuo Chao <yan@linux.vnet.ibm.com>
Tue, 29 Jan 2013 02:23:24 +0000 (21:23 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 29 Jan 2013 02:23:24 +0000 (21:23 -0500)
commita833d9476f5c88472620a0ed85221b1c144f9a09
treee42b54a9dd95eaca6026ea350d0a3241da6d4072
parentc394792ba0f280d4c72f045d4dc6e7107348868a
ext4: release buffer when checksum failed

Commit b17d00a5 (ext4: calculate and verify checksums of directory
leaf blocks) and commit 481e67fc (ext4: Calculate and verify checksums
for htree nodes) forget to release buffer when checksum failed, at
some places.

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>
fs/ext4/dir.c
fs/ext4/namei.c