search for: idx_root_next_entry

Displaying 2 results from an estimated 2 matches for "idx_root_next_entry".

2014 Jun 02
2
[PATCH] NTFS: fix incorrect file->offset usage in ntfs_readdir
...ident.value_offset); if (!file->offset && readdir_state->in_idx_root) { - file->offset = (uint32_t)((uint8_t *)&ir->index + - ir->index.entries_offset); + file->offset = ir->index.entries_offset; } idx_root_next_entry: if (readdir_state->in_idx_root) { - ie = (struct ntfs_idx_entry *)(uint8_t *)file->offset; - if (ie->flags & INDEX_ENTRY_END) { + ie = (struct ntfs_idx_entry *)((uint8_t *)&ir->index + file->offset); + if (ie->flags & INDEX_ENTRY_END...
2014 Jun 02
0
[PATCH] NTFS: fix incorrect file->offset usage in ntfs_readdir
...ata.resident.value_offset); if (!file->offset && readdir_state->in_idx_root) { - file->offset = (uint32_t)((uint8_t *)&ir->index + - ir->index.entries_offset); + file->offset = ir->index.entries_offset; } idx_root_next_entry: if (readdir_state->in_idx_root) { - ie = (struct ntfs_idx_entry *)(uint8_t *)file->offset; - if (ie->flags & INDEX_ENTRY_END) { + ie = (struct ntfs_idx_entry *)((uint8_t *)&ir->index + file->offset); + if (ie->flags & INDEX_ENTRY_END)...