commit | 26c09eb8145a16dcba6c40810d46a78712d253f2 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sun Mar 11 16:19:10 2012 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Mar 11 23:31:38 2012 -0400 |
tree | ebc779c27fcedcd2602156a141add4dcba80e717 | |
parent | c15386cdeed2464736f46bf1b19ec80ba8812dbf [diff] |
e2fsck: check for zero length extent If an extent has e_len set to zero, the kernel will oops with a BUG_ON. Unfortunately, e2fsck wasn't catching this case. The kernel needs to be fixed to notice this case and call ext4_error() instead of failing an assertion check, but e2fsck should catch this case and repair it (by deleting the errant extent). Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>