Many files:
alloc.c, bb_inode.c, bitmaps.c, bitops.h, block.c, bmap.c, bmove.c,
brel.h, cmp_bitmaps.c, dblist.c, dblist_dir.c, dir_iterate.c,
expanddir.c, ext2fs.h, ext2fsP.h, fileio.c, finddev.c, get_pathname.c,
icount.c, inode.c, irel.h, irel_ma.c, ismounted.c, link.c, lookup.c,
mkdir.c, mkjournal.c, namei.c, newdir.c, read_bb_file.c, test_io.c,
tst_iscan.c, unix_io.c, unlink.c: Change use of ino_t to ext2_ino_t,
to protect applications that attempt to compile
-D_FILE_OFFSET_BITS=64, since this inexplicably changes ino_t(!?). So
we use ext2_ino_t to avoid an unexpected ABI change.
diff --git a/lib/ext2fs/ext2fsP.h b/lib/ext2fs/ext2fsP.h
index b2b593d..aedee15 100644
--- a/lib/ext2fs/ext2fsP.h
+++ b/lib/ext2fs/ext2fsP.h
@@ -35,8 +35,8 @@
struct ext2_struct_dblist {
int magic;
ext2_filsys fs;
- ino_t size;
- ino_t count;
+ ext2_ino_t size;
+ ext2_ino_t count;
int sorted;
struct ext2_db_entry * list;
};
@@ -45,7 +45,7 @@
* For directory iterators
*/
struct dir_context {
- ino_t dir;
+ ext2_ino_t dir;
int flags;
char *buf;
int (*func)(struct ext2_dir_entry *dirent,
@@ -53,7 +53,7 @@
int blocksize,
char *buf,
void *priv_data);
- int (*func2)(ino_t dir,
+ int (*func2)(ext2_ino_t dir,
int entry,
struct ext2_dir_entry *dirent,
int offset,
@@ -77,8 +77,8 @@
};
struct ext2_inode_cache_ent {
- ino_t ino;
- struct ext2_inode inode;
+ ext2_ino_t ino;
+ struct ext2_inode inode;
};
/* Function prototypes */