[PATCH 2/2] linux.h: include <linux/fs.h>
Eric Sandeen
sandeen at sandeen.net
Mon May 23 17:35:44 CDT 2016
On 5/23/16 10:03 AM, Christoph Hellwig wrote:
> 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>
Christoph, thanks for taking care of this :)
Reviewed-by: Eric Sandeen <sandeen 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)
> {
>
More information about the xfs
mailing list