2008-06-08 Robert Millan <rmh@aybabtu.com>

* include/grub/ntfs.h (struct grub_ntfs_bpb): Rename `serial_number' to
        `num_serial' (for consistency with other variables).
        (struct grub_ntfs_data): Add `uuid' member.
        * fs/ntfs.c (grub_ntfs_mount): Initialize `data->uuid'.
        (grub_ntfs_uuid): New function.
        (grub_ntfs_fs): Reference grub_ntfs_uuid() in `uuid' struct member.
This commit is contained in:
robertmh 2008-06-08 19:18:58 +00:00
parent dc20b0f9f5
commit ad4936a035
3 changed files with 42 additions and 1 deletions

View file

@ -115,7 +115,7 @@ struct grub_ntfs_bpb
grub_int8_t reserved_4[3];
grub_int8_t clusters_per_index;
grub_int8_t reserved_5[3];
grub_uint64_t serial_number;
grub_uint64_t num_serial;
grub_uint32_t checksum;
} __attribute__ ((packed));
@ -151,6 +151,7 @@ struct grub_ntfs_data
grub_uint32_t spc;
grub_uint32_t blocksize;
grub_uint32_t mft_start;
grub_uint64_t uuid;
};
struct grub_ntfs_comp