From: Darrick J. Wong Date: Wed, 27 Aug 2014 22:40:05 +0000 (-0400) Subject: jbd2: fix infinite loop when recovering corrupt journal blocks X-Git-Tag: omap-fixes-against-v3.17-rc3~28^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=022eaa7517017efe4f6538750c2b59a804dc7df7;p=pandora-kernel.git 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 Signed-off-by: Theodore Ts'o Cc: stable@vger.kernel.org --- Reading git-diff-tree failed