search for: value_offset

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

2014 Jun 02
2
[PATCH] NTFS: fix incorrect file->offset usage in ntfs_readdir
...s/ntfs.c --- syslinux-6.03-pre12.orig/core/fs/ntfs/ntfs.c 2014-05-26 20:30:30.000000000 -0400 +++ syslinux-6.03-pre12/core/fs/ntfs/ntfs.c 2014-06-02 13:16:03.000000000 -0400 @@ -1058,14 +1058,13 @@ static int ntfs_readdir(struct file *fil attr->data.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_entr...
2014 Jun 02
0
[PATCH] NTFS: fix incorrect file->offset usage in ntfs_readdir
...s/ntfs.c --- syslinux-6.03-pre12.orig/core/fs/ntfs/ntfs.c 2014-05-26 20:30:30.000000000 -0400 +++ syslinux-6.03-pre12/core/fs/ntfs/ntfs.c 2014-06-02 13:16:03.000000000 -0400 @@ -1058,14 +1058,13 @@ static int ntfs_readdir(struct file *fil attr->data.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:...