19.10.2016 18:20, Carlo Caione пишет:
> From: Carlo Caione <ca...@endlessm.com>
> 
> dir.is_contiguous flag is being set reading into the wrong struct.
> This is causing a fragmented file not to be readable from an exfat
> partition since the NoFatChain bit is wrong. Fix this.
> 
> Signed-off-by: Carlo Caione <ca...@endlessm.com>
> ---
>  grub-core/fs/fat.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/grub-core/fs/fat.c b/grub-core/fs/fat.c
> index d5212c2..dd8850a 100644
> --- a/grub-core/fs/fat.c
> +++ b/grub-core/fs/fat.c
> @@ -684,7 +684,7 @@ grub_fat_iterate_dir_next (grub_disk_t disk, struct 
> grub_fat_data *data,
>                 ctxt->dir.file_size
>                   = grub_cpu_to_le64 
> (sec.type_specific.stream_extension.file_size);
>                 ctxt->dir.have_stream = 1;
> -               ctxt->dir.is_contiguous = 
> !!(dir.type_specific.stream_extension.flags
> +               ctxt->dir.is_contiguous = 
> !!(sec.type_specific.stream_extension.flags

This is fixed almost a year ago. Please always check current git whether
problem still exists. Thank you.

>                                              & grub_cpu_to_le16_compile_time 
> (FLAG_CONTIGUOUS));
>                 break;
>               case 0xc1:
> 


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to