* grub-core/fs/ntfs.c (read_data): Move code for compressed data to ...
* grub-core/fs/ntfscomp.c (ntfscomp): ... here.
This commit is contained in:
parent
2cc679adae
commit
63efa602ff
4 changed files with 67 additions and 68 deletions
|
@ -98,9 +98,7 @@ enum
|
|||
|
||||
enum
|
||||
{
|
||||
GRUB_NTFS_RF_COMP = 1,
|
||||
GRUB_NTFS_RF_CBLK = 2,
|
||||
GRUB_NTFS_RF_BLNK = 4
|
||||
GRUB_NTFS_RF_BLNK = 1
|
||||
};
|
||||
|
||||
struct grub_ntfs_bpb
|
||||
|
@ -187,12 +185,10 @@ struct grub_ntfs_rlst
|
|||
struct grub_ntfs_comp comp;
|
||||
};
|
||||
|
||||
typedef grub_err_t (*grub_ntfscomp_func_t) (struct grub_ntfs_attr * at,
|
||||
grub_uint8_t *dest,
|
||||
typedef grub_err_t (*grub_ntfscomp_func_t) (grub_uint8_t *dest,
|
||||
grub_disk_addr_t ofs,
|
||||
grub_size_t len,
|
||||
struct grub_ntfs_rlst * ctx,
|
||||
grub_disk_addr_t vcn);
|
||||
struct grub_ntfs_rlst * ctx);
|
||||
|
||||
extern grub_ntfscomp_func_t grub_ntfscomp_func;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue