diff options
author | Dave Chinner <dchinner@redhat.com> | 2015-10-16 11:30:18 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-10-16 11:30:18 +1100 |
commit | 86252eb374ec64e88b747da7a756528ab7328d4d (patch) | |
tree | 8d0eba21386fde6e9d8d4c497b40daa3bb08616f | |
parent | 508ae3569b922b480cd40d20986fd3799f19cef5 (diff) | |
download | xfsdump-dev-86252eb374ec64e88b747da7a756528ab7328d4d.tar.gz |
cleanup: define a local xfs_ino_t
The xfs inode number size is never going to change - it's a
uint64_t. We currently inherit this from xfsprogs headers, but it
goes away in xfsprogs v4.2.0 as it's part of the platform
definitions. Add our own local definition for this type.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
-rw-r--r-- | common/types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/types.h b/common/types.h index 235f52ac..09238978 100644 --- a/common/types.h +++ b/common/types.h @@ -49,6 +49,8 @@ typedef unsigned long u_long_t; typedef size_t ix_t; typedef int32_t time32_t; +typedef uint64_t xfs_ino_t; + /* limits */ #define MKMAX( t, s ) ( ( t ) \ |