xfstests: fix compile error of src/fssum.c on bigendian host
PATCH RESEND 1/1 xfstests: fix compile error of src/fssum.c on bigendian host
Definition of htonll() is needed on bigendian host too, otherwise src/fssum.c won't compile on ppc64/s390x hosts.
Acked-by Dave Chinner <[email protected]>
Reviewed-by Carlos Maiolino <[email protected]>
Signed-off-by Eryu Guan <[email protected]>
--- src/fssum.c | 2 ++ 1 file changed, 2 insertions(+)
src/fssum.c +2 -0
@@ -50,6 +50,8 @@#if __BYTE_ORDER == __LITTLE_ENDIAN#define htonll (x) __bswap_64 (x) +#else +#define htonll (x) (x)#endif #endif
Signature · 6 lines
1.8.3.1 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
This has been committed.
Thanks
--Rich
commit 3d2a446df422c5a1b9ab561ae73e66b68a5aa4c3
Author: Eryu Guan <[email protected]> Date: Tue Nov 12 04:16:53 2013 +0000
xfstests: fix compile error of src/fssum.c on bigendian host
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Forwarded to Arne who just pushed the fix to the far-progs repository at
git://git.kernel.org/pub/scm/linux/kernel/git/arne/far-progs.git
so we stay in sync. Thanks,
-Jan
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs