Displaying 2 results from an estimated 2 matches for "descend_into_child_nod".
Did you mean:
descend_into_child_node
2014 Jun 02
2
[PATCH] NTFS: fix incorrect file->offset usage in ntfs_readdir
...nt8_t *)&ir->index +
file->offset);
+ if (ie->flags & INDEX_ENTRY_END) {
file->offset = 0;
readdir_state->in_idx_root = false;
readdir_state->idx_blks_count = 1;
@@ -1074,7 +1073,7 @@ idx_root_next_entry:
goto descend_into_child_node;
}
- file->offset = (uint32_t)((uint8_t *)ie + ie->len);
+ file->offset += ie->len;
len = ntfs_cvt_filename(filename, ie);
if (!is_filename_printable(filename))
goto idx_root_next_entry;
2014 Jun 02
0
[PATCH] NTFS: fix incorrect file->offset usage in ntfs_readdir
...int8_t *)&ir->index + file->offset);
+ if (ie->flags & INDEX_ENTRY_END) {
file->offset = 0;
readdir_state->in_idx_root = false;
readdir_state->idx_blks_count = 1;
@@ -1074,7 +1073,7 @@ idx_root_next_entry:
goto descend_into_child_node;
}
- file->offset = (uint32_t)((uint8_t *)ie + ie->len);
+ file->offset += ie->len;
len = ntfs_cvt_filename(filename, ie);
if (!is_filename_printable(filename))
goto idx_root_next_entry;