summaryrefslogtreecommitdiff
path: root/ltp
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-03-08 20:39:40 -0800
committerEryu Guan <guaneryu@gmail.com>2021-03-14 21:29:12 +0800
commit69a5de82890832addc2d20d2aef0738cebf5f3ee (patch)
tree2666d6c0faf2594e3f9eecd46ff963093bbf004e /ltp
parentf5c3de7d2f4cc99a9beef53a1468051b24c42ca0 (diff)
fstests: remove libattr dependencies
Now that we don't have any libattr dependencies anymore, get rid of all the build system hooks. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Diffstat (limited to 'ltp')
-rw-r--r--ltp/Makefile5
-rw-r--r--ltp/fsstress.c6
2 files changed, 0 insertions, 11 deletions
diff --git a/ltp/Makefile b/ltp/Makefile
index 198d930f..85f63414 100644
--- a/ltp/Makefile
+++ b/ltp/Makefile
@@ -13,11 +13,6 @@ LDIRT = $(TARGETS)
LCFLAGS = -DXFS
LCFLAGS += -I$(TOPDIR)/src #Used for including $(TOPDIR)/src/global.h
-ifeq ($(HAVE_ATTR_LIST), true)
-LCFLAGS += -DHAVE_ATTR_LIST
-LLDLIBS += $(LIBATTR)
-endif
-
ifeq ($(HAVE_AIO), true)
TARGETS += aio-stress
LCFLAGS += -DAIO
diff --git a/ltp/fsstress.c b/ltp/fsstress.c
index 10c27a7d..e7cd0eae 100644
--- a/ltp/fsstress.c
+++ b/ltp/fsstress.c
@@ -14,15 +14,9 @@
#ifdef HAVE_BTRFSUTIL_H
#include <btrfsutil.h>
#endif
-#ifdef HAVE_ATTR_ATTRIBUTES_H
-#include <attr/attributes.h>
-#endif
#ifdef HAVE_LINUX_FIEMAP_H
#include <linux/fiemap.h>
#endif
-#ifndef HAVE_ATTR_LIST
-#define attr_list(path, buf, size, flags, cursor) (errno = -ENOSYS, -1)
-#endif
#ifdef HAVE_SYS_PRCTL_H
#include <sys/prctl.h>
#endif