aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2014-08-27 22:40:05 +0000
committerTheodore Ts'o <[email protected]>2014-08-29 02:22:28 +0000
commit022eaa7517017efe4f6538750c2b59a804dc7df7 (patch)
tree1d79bb7473a3112c00df51e260c68e6e1f61b94a /fs/jbd2/commit.c
parentext4: update i_disksize coherently with block allocation on error path (diff)
downloadkernel-022eaa7517017efe4f6538750c2b59a804dc7df7.tar.gz
kernel-022eaa7517017efe4f6538750c2b59a804dc7df7.zip
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 <[email protected]> Signed-off-by: Theodore Ts'o <[email protected]> Cc: [email protected]
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions