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/link.c b/lib/ext2fs/link.c
index f8d760d..e680259 100644
--- a/lib/ext2fs/link.c
+++ b/lib/ext2fs/link.c
@@ -26,7 +26,7 @@
struct link_struct {
const char *name;
int namelen;
- ino_t inode;
+ ext2_ino_t inode;
int flags;
int done;
struct ext2_super_block *sb;
@@ -97,10 +97,10 @@
* entry filetype.
*/
#ifdef __TURBOC__
-#pragma argsused
+ #pragma argsused
#endif
-errcode_t ext2fs_link(ext2_filsys fs, ino_t dir, const char *name, ino_t ino,
- int flags)
+errcode_t ext2fs_link(ext2_filsys fs, ext2_ino_t dir, const char *name,
+ ext2_ino_t ino, int flags)
{
errcode_t retval;
struct link_struct ls;