To reliably prevent the redefinition of struct fsxattr.
Reported-by: Jeffrey Bastian <jbastian@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
#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)
{