Displaying 3 results from an estimated 3 matches for "ntfs_idx_entry".
2014 Jun 02
2
[PATCH] NTFS: fix incorrect file->offset usage in ntfs_readdir
...oot) {
- 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) {
file->offset = 0;
readdir_state->in_idx_roo...
2014 Jun 02
0
[PATCH] NTFS: fix incorrect file->offset usage in ntfs_readdir
...n_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) {
file->offset = 0;
readdir_state->in_idx_root...
2014 Feb 20
2
[PATCH] NTFS: fragmented $MFT file was not handled
...return NULL;
+static struct ntfs_mft_record *ntfs_mft_record_lookup_3_1(struct
fs_info *fs,
+ uint32_t file, block_t
*blk)
+{
+ return ntfs_mft_record_lookup_any(fs,file,blk,true);
}
static bool ntfs_filename_cmp(const char *dname, struct ntfs_idx_entry
*ie)