summaryrefslogtreecommitdiff
path: root/include/linux/jbd2.h
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2014-08-27 18:40:05 -0400
committerTheodore Ts'o <tytso@mit.edu>2014-08-28 22:22:28 -0400
commit022eaa7517017efe4f6538750c2b59a804dc7df7 (patch)
tree1d79bb7473a3112c00df51e260c68e6e1f61b94a /include/linux/jbd2.h
parent6603120e96eae9a5d6228681ae55c7fdc998d1bb (diff)
jbd2: fix infinite loop when recovering corrupt journal blocks
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
Diffstat (limited to 'include/linux/jbd2.h')
0 files changed, 0 insertions, 0 deletions