Comment 165 for bug 477104

Revision history for this message
Colin Watson (cjwatson) wrote :

The 4GiB NTFS barrier problem should be fixed in Lucid, at least, so I'm closing the grub2/lucid bug task for the time being. The Karmic tasks remain open.

2009-12-10 Vladimir Serbinenko <email address hidden>

        Eliminate NTFS 4Gib barrier.

        * fs/ntfs.c (read_attr): Use grub_disk_addr_t and grub_size_t.
        (read_run_data): Likewise.
        (grub_ntfs_read_run_list): Likewise.
        (grub_ntfs_read_block): Likewise.
        (grub_ntfs_iterate_dir): Likewise.
        (read_mft): Likewise.
        (read_data): Likewise.
        Use COM_LOG_LEN.
        * fs/ntfscomp.c (read_block): Cast ctx->target_vcn & 0xF to unsigned
        to avoid 64-bit division
        * include/grub/ntfs.h (COM_LOG_LEN): New definition.
        (grub_ntfs_rlst): Use grub_disk_addr_t.