diff options
| author | Darrick J. Wong <[email protected]> | 2014-08-27 22:40:05 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2014-08-29 02:22:28 +0000 |
| commit | 022eaa7517017efe4f6538750c2b59a804dc7df7 (patch) | |
| tree | 1d79bb7473a3112c00df51e260c68e6e1f61b94a /fs/jbd2/commit.c | |
| parent | ext4: update i_disksize coherently with block allocation on error path (diff) | |
| download | kernel-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
