diff options
author | Eryu Guan <guaneryu@gmail.com> | 2015-05-15 01:00:45 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2015-05-15 01:00:45 +0200 |
commit | 2f974865ffdfe7b9f46a9940836c8b167342563d (patch) | |
tree | fa8e553e8343141ff00a84c9589b54783cb1dbb6 /fs/jbd2 | |
parent | ext4: fix NULL pointer dereference when journal restart fails (diff) | |
download | linux-2f974865ffdfe7b9f46a9940836c8b167342563d.tar.xz linux-2f974865ffdfe7b9f46a9940836c8b167342563d.zip |
ext4: check for zero length extent explicitly
The following commit introduced a bug when checking for zero length extent
5946d08 ext4: check for overlapping extents in ext4_valid_extent_entries()
Zero length extent could pass the check if lblock is zero.
Adding the explicit check for zero length back.
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/jbd2')
0 files changed, 0 insertions, 0 deletions