Re: [PATCH v6 4/5] vvfat: Fix reading files with non-continuous clusters

2024-08-08 Thread Amjad Alsharafi
On Aug 5 2024, at 6:22 pm, Kevin Wolf wrote: > Am 20.07.2024 um 12:13 hat Amjad Alsharafi geschrieben: >> When reading with `read_cluster` we get the `mapping` with >> `find_mapping_for_cluster` and then we call `open_file` for this >> mapping. >> The issue appear when its the same file, but a

Re: [PATCH v6 4/5] vvfat: Fix reading files with non-continuous clusters

2024-08-05 Thread Kevin Wolf
Am 20.07.2024 um 12:13 hat Amjad Alsharafi geschrieben: > When reading with `read_cluster` we get the `mapping` with > `find_mapping_for_cluster` and then we call `open_file` for this > mapping. > The issue appear when its the same file, but a second cluster that is > not immediately after it, imag

[PATCH v6 4/5] vvfat: Fix reading files with non-continuous clusters

2024-07-20 Thread Amjad Alsharafi
When reading with `read_cluster` we get the `mapping` with `find_mapping_for_cluster` and then we call `open_file` for this mapping. The issue appear when its the same file, but a second cluster that is not immediately after it, imagine clusters `500 -> 503`, this will give us 2 mappings one has th