From: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
To: fstests@vger.kernel.org
Subject: [PATCH 2/3] src/t_immutable: use sys/xattr.h instead of attr/xattr.h
Date: Wed, 27 Jun 2018 16:49:12 +0800 [thread overview]
Message-ID: <20180627084913.4730-3-lufq.fnst@cn.fujitsu.com> (raw)
In-Reply-To: <20180627084913.4730-1-lufq.fnst@cn.fujitsu.com>
Since attr v2.4.48 has removed <attr/xattr.h>, use <sys/xattr.h>
provided by glibc.
Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
---
src/t_immutable.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/t_immutable.c b/src/t_immutable.c
index 9a4e0169ec60..eadef78f9cbb 100644
--- a/src/t_immutable.c
+++ b/src/t_immutable.c
@@ -23,7 +23,7 @@
#include <grp.h>
#include <libgen.h>
#include <sys/acl.h>
-#include <attr/xattr.h>
+#include <sys/xattr.h>
#include <linux/fs.h>
#include <linux/magic.h>
#include <xfs/xfs.h>
--
2.18.0
next prev parent reply other threads:[~2018-06-27 8:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-27 8:49 [PATCH 0/3] use sys/xattr.h instead of attr/xattr.h Lu Fengqi
2018-06-27 8:49 ` [PATCH 1/3] fsstress: " Lu Fengqi
2018-06-27 8:49 ` Lu Fengqi [this message]
2018-06-27 8:49 ` [PATCH 3/3] build: remove <attr/xattr.h> check Lu Fengqi
-- strict thread matches above, loose matches on Subject: below --
2018-06-27 10:18 [PATCH v2 0/3] use sys/xattr.h instead of attr/xattr.h Lu Fengqi
2018-06-27 10:18 ` [PATCH 2/3] src/t_immutable: " Lu Fengqi
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=20180627084913.4730-3-lufq.fnst@cn.fujitsu.com \
--to=lufq.fnst@cn.fujitsu.com \
--cc=fstests@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