Skip to contentSkip to conversation

xfstests: ensure uint64_t is defined for <linux/fs.h>

PATCH In review Alex Elder 2 participants 2 messages Nov 29, 2010 – Nov 30, 2010

lore
Share & tools
lore

Alex Elder

author
#0 lore raw

PATCH 1/1 xfstests: ensure uint64_t is defined for <linux/fs.h>

When compiling "fiemap-tester.c" in my environment, I am getting complaints at the first reference to "uint64_t" in <linux/fs.h>. This simple patch resolves that.

---
 src/fiemap-tester.c |    1 +
 1 file changed, 1 insertion(+)
src/fiemap-tester.c +1 -0
Index: b/src/fiemap-tester.c
===================================================================
@@ -18,6 +18,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <stdint.h>
 #include <unistd.h>
 #include <fcntl.h>
 #include <string.h>

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Alex Elder

When compiling "fiemap-tester.c" in my environment, I am getting complaints at the first reference to "uint64_t" in <linux/fs.h>. This simple patch resolves that.

This should be fixed again by newer kernels, but given that the fix is entirely harmless I'm fine with it.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs