Blame SOURCES/xfsprogs-revert-off64_t.patch

9bf599
Revert, because off64_t isn't available w/o LFS defines;
9bf599
upstream this needs to be handled seamlessly but we don't
9bf599
want to change existing RHEL behavior for code that includes
9bf599
xfs.h
9bf599
9bf599
commit cb898f157f8410a03cf5f3400baa1df9e5eecd33
9bf599
Author: Felix Janda <felix.janda@posteo.de>
9bf599
Date:   Fri Feb 5 08:34:06 2016 +1100
9bf599
9bf599
    linux.h: Use off64_t instead of loff_t
9bf599
    
9bf599
    These are equivalent on glibc, while musl does not know loff_t.
9bf599
    
9bf599
    In the long run, it would be preferable to enable transparent LFS so
9bf599
    that off64_t could be replaced by off_t.
9bf599
    
9bf599
    Signed-off-by: Felix Janda <felix.janda@posteo.de>
9bf599
    Reviewed-by: Christoph Hellwig <hch@lst.de>
9bf599
    Signed-off-by: Dave Chinner <david@fromorbit.com>
9bf599
9bf599
diff --git a/include/linux.h b/include/linux.h
9bf599
index 674717c..a7d2f85 100644
9bf599
--- a/include/linux.h
9bf599
+++ b/include/linux.h
9bf599
@@ -141,7 +141,7 @@ platform_discard_blocks(int fd, uint64_t start, uint64_t len)
9bf599
 #define EFSCORRUPTED	EUCLEAN	/* Filesystem is corrupted */
9bf599
 #define EFSBADCRC	EBADMSG	/* Bad CRC detected */
9bf599
 
9bf599
-typedef off64_t		xfs_off_t;
9bf599
+typedef loff_t		xfs_off_t;
9bf599
 typedef __uint64_t	xfs_ino_t;
9bf599
 typedef __uint32_t	xfs_dev_t;
9bf599
 typedef __int64_t	xfs_daddr_t;