summaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2009-01-08 13:42:25 -0500
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2009-01-09 16:19:14 +1100
commit058652a37dd9eac18d6b8c1a311137c679de9dae (patch)
tree4b9cba6d274980af4ae4a124af8b084bb8ec5572 /fs/xfs
parent15440319767942a363f282d6585303d3d75088ba (diff)
downloadlinux-058652a37dd9eac18d6b8c1a311137c679de9dae.tar.gz
linux-058652a37dd9eac18d6b8c1a311137c679de9dae.tar.bz2
linux-058652a37dd9eac18d6b8c1a311137c679de9dae.zip
[XFS] make xfs_ino_t an unsigned long long
Currently xfs_ino_t is defined as a u64 which can either be an unsigned long long or on some 64 bit platforms and unsigned long. Just making it and unsigned long long mean's it's still always 64 bits wide, but we don't need to resort to cases to print it. Fixes a warning regression on 64 bit powerpc in current git. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <david@fromorbit.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs')
-rw-r--r--fs/xfs/xfs_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_types.h b/fs/xfs/xfs_types.h
index baedbd14dc21..b2f724502f1b 100644
--- a/fs/xfs/xfs_types.h
+++ b/fs/xfs/xfs_types.h
@@ -45,7 +45,7 @@ typedef __uint32_t prid_t; /* project ID */
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;