blob: feaefb58ed4815d49b72e4d7edd6f257efa5b7fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
--- dosfstools-3.0.26.orig/src/fsck.fat.h 2014-02-08 18:53:10.000000000 +0100
+++ dosfstools-3.0.26/src/fsck.fat.h 2014-03-26 13:29:32.000000000 +0100
@@ -143,8 +143,8 @@ typedef struct {
typedef struct _dos_file {
DIR_ENT dir_ent;
char *lfn;
- loff_t offset;
- loff_t lfn_offset;
+ off_t offset;
+ off_t lfn_offset;
struct _dos_file *parent; /* parent directory */
struct _dos_file *next; /* next entry */
struct _dos_file *first; /* first entry (directory only) */
@@ -157,19 +157,19 @@ typedef struct {
typedef struct {
int nfats;
- loff_t fat_start;
+ off_t fat_start;
unsigned int fat_size; /* unit is bytes */
unsigned int fat_bits; /* size of a FAT entry */
unsigned int eff_fat_bits; /* # of used bits in a FAT entry */
uint32_t root_cluster; /* 0 for old-style root dir */
- loff_t root_start;
+ off_t root_start;
unsigned int root_entries;
- loff_t data_start;
+ off_t data_start;
unsigned int cluster_size;
uint32_t clusters;
- loff_t fsinfo_start; /* 0 if not present */
+ off_t fsinfo_start; /* 0 if not present */
long free_clusters;
- loff_t backupboot_start; /* 0 if not present */
+ off_t backupboot_start; /* 0 if not present */
unsigned char *fat;
DOS_FILE **cluster_owner;
char *label;
|