https://github.com/torvalds/linux
Revision 022eaa7517017efe4f6538750c2b59a804dc7df7 authored by Darrick J. Wong on 27 August 2014, 22:40:05 UTC, committed by Theodore Ts'o on 29 August 2014, 02:22:28 UTC
When recovering the journal, don't fall into an infinite loop if we
encounter a corrupt journal block.  Instead, just skip the block and
return an error, which fails the mount and thus forces the user to run
a full filesystem fsck.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
1 parent 6603120
History
Tip revision: 022eaa7517017efe4f6538750c2b59a804dc7df7 authored by Darrick J. Wong on 27 August 2014, 22:40:05 UTC
jbd2: fix infinite loop when recovering corrupt journal blocks
Tip revision: 022eaa7
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.8 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 277.8 KB
Makefile -rw-r--r-- 52.8 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top