From: David Sterba <dsterba@suse.cz>
To: "Darrick J. Wong" <darrick.wong@oracle.com>
Cc: guaneryu@gmail.com,
"Holger Hoffstätte" <holger@applied-asynchrony.com>,
linux-xfs@vger.kernel.org, fstests@vger.kernel.org
Subject: Re: [PATCH] t_attr_corruption: fix xattr.h include problems
Date: Thu, 21 Feb 2019 19:09:13 +0100 [thread overview]
Message-ID: <20190221180913.GB9874@suse.cz> (raw)
In-Reply-To: <20190220172005.GJ6477@magnolia>
On Wed, Feb 20, 2019 at 09:20:05AM -0800, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@oracle.com>
>
> Apparently newer versions of libattr (which haven't yet been picked up
> by Debian or Ubuntu) don't ship xattr.h anymore, because we're supposed
> to use the libc version in sys/xattr.h. So do that.
>
> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
> ---
> src/t_attr_corruption.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/t_attr_corruption.c b/src/t_attr_corruption.c
> index 1fa5e41f..f26611f9 100644
> --- a/src/t_attr_corruption.c
> +++ b/src/t_attr_corruption.c
> @@ -27,7 +27,7 @@
> #include <string.h>
> #include <stdint.h>
> #include <unistd.h>
> -#include <attr/xattr.h>
> +#include <sys/xattr.h>
Works for me, thanks
Reviewed-by: David Sterba <dsterba@suse.com>
prev parent reply other threads:[~2019-02-21 18:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-20 17:20 [PATCH] t_attr_corruption: fix xattr.h include problems Darrick J. Wong
2019-02-21 18:09 ` David Sterba [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190221180913.GB9874@suse.cz \
--to=dsterba@suse.cz \
--cc=darrick.wong@oracle.com \
--cc=fstests@vger.kernel.org \
--cc=guaneryu@gmail.com \
--cc=holger@applied-asynchrony.com \
--cc=linux-xfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox