| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | Re: [PATCH 2/2] linux.h: include <linux/fs.h> |
| From: | Eric Sandeen <sandeen@xxxxxxxxxxx> |
| Date: | Mon, 23 May 2016 17:35:44 -0500 |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1464015836-25127-3-git-send-email-hch@xxxxxx> |
| References: | <1464015836-25127-1-git-send-email-hch@xxxxxx> <1464015836-25127-3-git-send-email-hch@xxxxxx> |
| User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 |
On 5/23/16 10:03 AM, Christoph Hellwig wrote:
> To reliably prevent the redefinition of struct fsxattr.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> Reported-by: Jeffrey Bastian <jbastian@xxxxxxxxxx>
Christoph, thanks for taking care of this :)
Reviewed-by: Eric Sandeen <sandeen@xxxxxxxxxx>
> ---
> 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)
> {
>
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: centos7 xfs able to mount, but unable to write, unable to perform repair, Eric Sandeen |
|---|---|
| Next by Date: | Re: [PATCH 1/2] xfs.h: define XFS_IOC_FREEZE even if FIFREEZE is defined, Eric Sandeen |
| Previous by Thread: | [PATCH 2/2] linux.h: include <linux/fs.h>, Christoph Hellwig |
| Next by Thread: | [PATCH] xfs: define XFS_IOC_FREEZE even if FIFREEZE is defined, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |