mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-29 10:39:22 +00:00
Support 4K-sector NTFS.
* include/grub/ntfs.h (GRUB_NTFS_MAX_MFT): Increase to 8. (grub_ntfs_data): Remove blocksize. * grub-core/fs/ntfs.c (fixup): Fix size comparison. Remove data argument. All users updated.
This commit is contained in:
1 parent
dad9c8b59e
commit
b508af6989
3 files changed
+23
-16
No files matched your search
+1
-2
@@ -81,7 +81,7 @@ enum
|
||||
|
||||
#define GRUB_NTFS_BLK_SHR GRUB_DISK_SECTOR_BITS
|
||||
|
||||
#define GRUB_NTFS_MAX_MFT (1024 >> GRUB_NTFS_BLK_SHR)
|
||||
#define GRUB_NTFS_MAX_MFT (4096 >> GRUB_NTFS_BLK_SHR)
|
||||
#define GRUB_NTFS_MAX_IDX (16384 >> GRUB_NTFS_BLK_SHR)
|
||||
|
||||
#define GRUB_NTFS_COM_LEN 4096
|
||||
@@ -157,7 +157,6 @@ struct grub_ntfs_data
|
||||
grub_uint32_t mft_size;
|
||||
grub_uint32_t idx_size;
|
||||
grub_uint32_t spc;
|
||||
grub_uint32_t blocksize;
|
||||
grub_uint32_t mft_start;
|
||||
grub_uint64_t uuid;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user