commit | 11de9261c156e2b274aab0997808a1eb3cf1ddb5 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Fri May 30 15:23:24 2008 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Fri May 30 15:23:24 2008 -0400 |
tree | 3222f540bc8619185e8df51cc4b8e284265a6fe0 | |
parent | 73e5abcfe43d6bbd5b4793769d41d097ba7aed84 [diff] |
e2fsck: Don't double count an extent after deleting the last extent ext2fs_extent_delete() will leave the extent handle pointing at the next extent --- except if the last extent in the node. To deal with this last case, call ext2fs_get_extent_info() and stop scanning after processing info->num_entries extents. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>