From: Felix Janda Date: Thu, 4 Feb 2016 21:34:06 +0000 (+1100) Subject: linux.h: Use off64_t instead of loff_t X-Git-Tag: v4.5.0-rc1~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb898f157f8410a03cf5f3400baa1df9e5eecd33;p=thirdparty%2Fxfsprogs-dev.git linux.h: Use off64_t instead of loff_t These are equivalent on glibc, while musl does not know loff_t. In the long run, it would be preferable to enable transparent LFS so that off64_t could be replaced by off_t. Signed-off-by: Felix Janda Reviewed-by: Christoph Hellwig Signed-off-by: Dave Chinner --- diff --git a/include/linux.h b/include/linux.h index 674717cf1..a7d2f850c 100644 --- a/include/linux.h +++ b/include/linux.h @@ -141,7 +141,7 @@ platform_discard_blocks(int fd, uint64_t start, uint64_t len) #define EFSCORRUPTED EUCLEAN /* Filesystem is corrupted */ #define EFSBADCRC EBADMSG /* Bad CRC detected */ -typedef loff_t xfs_off_t; +typedef off64_t xfs_off_t; typedef __uint64_t xfs_ino_t; typedef __uint32_t xfs_dev_t; typedef __int64_t xfs_daddr_t;