[PATCH 2/2] linux.h: include <linux/fs.h>
Christoph Hellwig
hch at lst.de
Mon May 23 10:03:56 CDT 2016
To reliably prevent the redefinition of struct fsxattr.
Signed-off-by: Christoph Hellwig <hch at lst.de>
Reported-by: Jeffrey Bastian <jbastian at redhat.com>
---
include/linux.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux.h b/include/linux.h
index cc0f70c..0c616f4 100644
--- a/include/linux.h
+++ b/include/linux.h
@@ -32,6 +32,7 @@
#include <stdio.h>
#include <asm/types.h>
#include <mntent.h>
+#include <linux/fs.h> /* fsxattr defintion for new kernels */
static __inline__ int xfsctl(const char *path, int fd, int cmd, void *p)
{
--
2.1.4
More information about the xfs
mailing list