|
@@ -576,11 +576,8 @@ static int htree_dirblock_to_tree(struct file *dir_file,
|
|
|
if (!ext3_check_dir_entry("htree_dirblock_to_tree", dir, de, bh,
|
|
|
(block<<EXT3_BLOCK_SIZE_BITS(dir->i_sb))
|
|
|
+((char *)de - bh->b_data))) {
|
|
|
- /* On error, skip the f_pos to the next block. */
|
|
|
- dir_file->f_pos = (dir_file->f_pos |
|
|
|
- (dir->i_sb->s_blocksize - 1)) + 1;
|
|
|
- brelse (bh);
|
|
|
- return count;
|
|
|
+ /* silently ignore the rest of the block */
|
|
|
+ break;
|
|
|
}
|
|
|
ext3fs_dirhash(de->name, de->name_len, hinfo);
|
|
|
if ((hinfo->hash < start_hash) ||
|