[PATCH] define xfs_ino_t as unsigned long long
Christoph Hellwig
hch at infradead.org
Mon Jan 5 13:31:29 CST 2009
That way we can avoid ugly casts when printining it (like the ones
that show up on powerpc with Linus' current tree).
Signed-off-by: Christoph Hellwig <hch at lst.de>
Index: xfs/fs/xfs/xfs_types.h
===================================================================
--- xfs.orig/fs/xfs/xfs_types.h 2009-01-01 11:53:17.321546620 +0100
+++ xfs/fs/xfs/xfs_types.h 2009-01-05 20:30:04.794549213 +0100
@@ -45,7 +45,7 @@ typedef __uint32_t prid_t; /* project
typedef __uint32_t inst_t; /* an instruction */
typedef __s64 xfs_off_t; /* <file offset> type */
-typedef __u64 xfs_ino_t; /* <inode> type */
+typedef unsigned long long xfs_ino_t; /* <inode> type */
typedef __s64 xfs_daddr_t; /* <disk address> type */
typedef char * xfs_caddr_t; /* <core address> type */
typedef __u32 xfs_dev_t;
More information about the xfs
mailing list