summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-filesystems/recipes-utils/xfstests/xfstests/0001-ltp-fsx.h-Explicitly-use-int-for-return-type-for-aio.patch30
-rw-r--r--meta-filesystems/recipes-utils/xfstests/xfstests/0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch9
-rw-r--r--meta-filesystems/recipes-utils/xfstests/xfstests_2024.01.14.bb (renamed from meta-filesystems/recipes-utils/xfstests/xfstests_2023.10.29.bb)3
3 files changed, 5 insertions, 37 deletions
diff --git a/meta-filesystems/recipes-utils/xfstests/xfstests/0001-ltp-fsx.h-Explicitly-use-int-for-return-type-for-aio.patch b/meta-filesystems/recipes-utils/xfstests/xfstests/0001-ltp-fsx.h-Explicitly-use-int-for-return-type-for-aio.patch
deleted file mode 100644
index 5e9e9d9a79..0000000000
--- a/meta-filesystems/recipes-utils/xfstests/xfstests/0001-ltp-fsx.h-Explicitly-use-int-for-return-type-for-aio.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1From 0927d0def968ea7e19905c7e39182f65961c11cf Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 5 Nov 2023 01:17:52 -0700
4Subject: [PATCH] ltp/fsx.h: Explicitly use int for return type for aio_rw()
5
6Fixes build with clang-17+
7error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
8
9Upstream-Status: Submitted [https://marc.info/?l=fstests&m=169917222008646&w=2]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 ltp/fsx.c | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/ltp/fsx.c b/ltp/fsx.c
16index ee4b8fe4..c0aec23f 100644
17--- a/ltp/fsx.c
18+++ b/ltp/fsx.c
19@@ -2581,7 +2581,7 @@ out_error:
20 return -1;
21 }
22 #else
23-aio_rw(int rw, int fd, char *buf, unsigned len, unsigned offset)
24+int aio_rw(int rw, int fd, char *buf, unsigned len, unsigned offset)
25 {
26 fprintf(stderr, "io_rw: need AIO support!\n");
27 exit(111);
28--
292.42.1
30
diff --git a/meta-filesystems/recipes-utils/xfstests/xfstests/0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch b/meta-filesystems/recipes-utils/xfstests/xfstests/0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch
index 856fd270f5..e823297343 100644
--- a/meta-filesystems/recipes-utils/xfstests/xfstests/0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch
+++ b/meta-filesystems/recipes-utils/xfstests/xfstests/0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch
@@ -1,4 +1,4 @@
1From 559f685f83d12d11bf9ec6c6ce924ee4d0702a2a Mon Sep 17 00:00:00 2001 1From 79c4715a46b80653eb98b61731c094c85e969220 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 14 Aug 2022 13:33:05 -0700 3Date: Sun, 14 Aug 2022 13:33:05 -0700
4Subject: [PATCH] Drop detached_mounts_propagation and remove sys/mount.h from 4Subject: [PATCH] Drop detached_mounts_propagation and remove sys/mount.h from
@@ -12,21 +12,20 @@ testcase
12Upstream-Status: Inappropriate [Libc specific Workaround] 12Upstream-Status: Inappropriate [Libc specific Workaround]
13 13
14Signed-off-by: Khem Raj <raj.khem@gmail.com> 14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15
16--- 15---
17 src/Makefile | 2 +- 16 src/Makefile | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-) 17 1 file changed, 1 insertion(+), 1 deletion(-)
19 18
20diff --git a/src/Makefile b/src/Makefile 19diff --git a/src/Makefile b/src/Makefile
21index 2815f919..448fccc9 100644 20index e7442487..970f087a 100644
22--- a/src/Makefile 21--- a/src/Makefile
23+++ b/src/Makefile 22+++ b/src/Makefile
24@@ -32,7 +32,7 @@ LINUX_TARGETS = xfsctl bstat t_mtab getdevicesize preallo_rw_pattern_reader \ 23@@ -33,7 +33,7 @@ LINUX_TARGETS = xfsctl bstat t_mtab getdevicesize preallo_rw_pattern_reader \
25 dio-invalidate-cache stat_test t_encrypted_d_revalidate \ 24 dio-invalidate-cache stat_test t_encrypted_d_revalidate \
26 attr_replace_test swapon mkswap t_attr_corruption t_open_tmpfiles \ 25 attr_replace_test swapon mkswap t_attr_corruption t_open_tmpfiles \
27 fscrypt-crypt-util bulkstat_null_ocount splice-test chprojid_fail \ 26 fscrypt-crypt-util bulkstat_null_ocount splice-test chprojid_fail \
28- detached_mounts_propagation ext4_resize t_readdir_3 splice2pipe \ 27- detached_mounts_propagation ext4_resize t_readdir_3 splice2pipe \
29+ ext4_resize t_readdir_3 splice2pipe \ 28+ ext4_resize t_readdir_3 splice2pipe \
30 uuid_ioctl 29 uuid_ioctl t_snapshot_deleted_subvolume
31 30
32 EXTRA_EXECS = dmerror fill2attr fill2fs fill2fs_check scaleread.sh \ 31 EXTRA_EXECS = dmerror fill2attr fill2fs fill2fs_check scaleread.sh \
diff --git a/meta-filesystems/recipes-utils/xfstests/xfstests_2023.10.29.bb b/meta-filesystems/recipes-utils/xfstests/xfstests_2024.01.14.bb
index 4e8e318409..e644272a51 100644
--- a/meta-filesystems/recipes-utils/xfstests/xfstests_2023.10.29.bb
+++ b/meta-filesystems/recipes-utils/xfstests/xfstests_2024.01.14.bb
@@ -7,12 +7,11 @@ SRCREV_FORMAT = "xfstests_unionmount"
7 7
8SRC_URI = "git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git;branch=for-next;name=xfstests \ 8SRC_URI = "git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git;branch=for-next;name=xfstests \
9 git://github.com/amir73il/unionmount-testsuite.git;branch=master;protocol=https;name=unionmount;destsuffix=unionmount-testsuite \ 9 git://github.com/amir73il/unionmount-testsuite.git;branch=master;protocol=https;name=unionmount;destsuffix=unionmount-testsuite \
10 file://0001-ltp-fsx.h-Explicitly-use-int-for-return-type-for-aio.patch \
11 file://0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch \ 10 file://0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch \
12 file://0001-add-missing-FTW_-macros-when-not-available-in-libc.patch \ 11 file://0001-add-missing-FTW_-macros-when-not-available-in-libc.patch \
13 " 12 "
14 13
15SRCREV_xfstests = "f7765774a1b5cb98c2f21a892e82b3421f40e791" 14SRCREV_xfstests = "c46ca4d1f6c0c45f9a3ea18bc31ba5ae89e02c70"
16SRCREV_unionmount = "e3825b16b46f4c4574a1a69909944c059835f914" 15SRCREV_unionmount = "e3825b16b46f4c4574a1a69909944c059835f914"
17 16
18S = "${WORKDIR}/git" 17S = "${WORKDIR}/git"