]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
jbd2: free bh when descriptor block checksum fails
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 16 Sep 2014 18:43:09 +0000 (14:43 -0400)
committerJiri Slaby <jslaby@suse.cz>
Thu, 13 Nov 2014 18:02:32 +0000 (19:02 +0100)
commit3a7fa65d2e144ff488dc2145fea70ef42ae1bdfb
tree7bbe04f581cb2b4def89827a08a1a15ee39fe607
parentff4b0a924a8d99fb56e77760ebe7ea1e0129163b
jbd2: free bh when descriptor block checksum fails

commit 064d83892e9ba547f7d4eae22cbca066d95210ce upstream.

Free the buffer head if the journal descriptor block fails checksum
verification.

This is the jbd2 port of the e2fsprogs patch "e2fsck: free bh on csum
verify error in do_one_pass".

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
fs/jbd2/recovery.c