diff options
-rw-r--r-- | meta-filesystems/recipes-utils/xfstests/xfstests/0001-Add-a-return-type-to-aio_rw.patch | 28 | ||||
-rw-r--r-- | meta-filesystems/recipes-utils/xfstests/xfstests/0001-m4-Check-for-FTW_ACTIONRETVAL-along-with-nftw.patch | 34 | ||||
-rw-r--r-- | meta-filesystems/recipes-utils/xfstests/xfstests/0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch | 31 | ||||
-rw-r--r-- | meta-filesystems/recipes-utils/xfstests/xfstests_2023.10.29.bb (renamed from meta-filesystems/recipes-utils/xfstests/xfstests_2023.03.05.bb) | 5 |
4 files changed, 10 insertions, 88 deletions
diff --git a/meta-filesystems/recipes-utils/xfstests/xfstests/0001-Add-a-return-type-to-aio_rw.patch b/meta-filesystems/recipes-utils/xfstests/xfstests/0001-Add-a-return-type-to-aio_rw.patch deleted file mode 100644 index e0a04c9073..0000000000 --- a/meta-filesystems/recipes-utils/xfstests/xfstests/0001-Add-a-return-type-to-aio_rw.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From f172ea004d34b00aa7bd5baff9422b2ab80df6e7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 14 Aug 2022 13:32:10 -0700 | ||
4 | Subject: [PATCH 1/2] Add a return type to aio_rw | ||
5 | |||
6 | Compilers complain about the function prototype otherwise | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | ltp/fsx.c | 1 + | ||
12 | 1 file changed, 1 insertion(+) | ||
13 | |||
14 | diff --git a/ltp/fsx.c b/ltp/fsx.c | ||
15 | index 12c2cc33..55b4e9b6 100644 | ||
16 | --- a/ltp/fsx.c | ||
17 | +++ b/ltp/fsx.c | ||
18 | @@ -2429,6 +2429,7 @@ out_error: | ||
19 | return -1; | ||
20 | } | ||
21 | #else | ||
22 | +int | ||
23 | aio_rw(int rw, int fd, char *buf, unsigned len, unsigned offset) | ||
24 | { | ||
25 | fprintf(stderr, "io_rw: need AIO support!\n"); | ||
26 | -- | ||
27 | 2.37.2 | ||
28 | |||
diff --git a/meta-filesystems/recipes-utils/xfstests/xfstests/0001-m4-Check-for-FTW_ACTIONRETVAL-along-with-nftw.patch b/meta-filesystems/recipes-utils/xfstests/xfstests/0001-m4-Check-for-FTW_ACTIONRETVAL-along-with-nftw.patch deleted file mode 100644 index fd34989fdf..0000000000 --- a/meta-filesystems/recipes-utils/xfstests/xfstests/0001-m4-Check-for-FTW_ACTIONRETVAL-along-with-nftw.patch +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | From 2a4fed8331f996421e65db446559991a854e2ad3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 24 Mar 2023 18:23:01 -0700 | ||
4 | Subject: [PATCH] m4: Check for FTW_ACTIONRETVAL along with nftw | ||
5 | |||
6 | FTW_ACTIONRETVAL is glibc specific extention which is used to implement | ||
7 | xfsfind but it may not be available on other C library implementations on Linux | ||
8 | e.g. musl. Therefore ensure that these defines are available before declaring | ||
9 | nftw() to be usable | ||
10 | |||
11 | Upstream-Status: Submitted [https://lore.kernel.org/fstests/20230325012858.587801-1-raj.khem@gmail.com/T/#u] | ||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
13 | Cc: Darrick J. Wong <djwong@kernel.org> | ||
14 | Cc: Zorro Lang <zlang@redhat.com> | ||
15 | --- | ||
16 | m4/package_libcdev.m4 | 2 +- | ||
17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
18 | |||
19 | diff --git a/m4/package_libcdev.m4 b/m4/package_libcdev.m4 | ||
20 | index b41c087b..7f731044 100644 | ||
21 | --- a/m4/package_libcdev.m4 | ||
22 | +++ b/m4/package_libcdev.m4 | ||
23 | @@ -132,7 +132,7 @@ AC_DEFUN([AC_HAVE_NFTW], | ||
24 | #include <stddef.h> | ||
25 | #include <ftw.h> | ||
26 | ]], [[ | ||
27 | - nftw("/", (int (*)(const char *, const struct stat *, int, struct FTW *))1, 0, 0); | ||
28 | + nftw("/", (int (*)(const char *, const struct stat *, int, struct FTW *))1, 0, FTW_ACTIONRETVAL); | ||
29 | ]])],[have_nftw=yes | ||
30 | AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no)]) | ||
31 | AC_SUBST(have_nftw) | ||
32 | -- | ||
33 | 2.40.0 | ||
34 | |||
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 a594b73a12..856fd270f5 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,8 +1,8 @@ | |||
1 | From dd43cbc7f50266cdc6210f2b920d7f648a83bdd6 Mon Sep 17 00:00:00 2001 | 1 | From 559f685f83d12d11bf9ec6c6ce924ee4d0702a2a Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sun, 14 Aug 2022 13:33:05 -0700 | 3 | Date: Sun, 14 Aug 2022 13:33:05 -0700 |
4 | Subject: [PATCH 2/2] Drop detached_mounts_propagation and remove sys/mount.h | 4 | Subject: [PATCH] Drop detached_mounts_propagation and remove sys/mount.h from |
5 | from vfs/utils.c | 5 | vfs/utils.c |
6 | 6 | ||
7 | with glibc 2.36+ sys/mount.h conflicts with linux/mount.h and here | 7 | with glibc 2.36+ sys/mount.h conflicts with linux/mount.h and here |
8 | linux/mount.h is included via xfs/xfs.h header and we need sys/mount.h | 8 | linux/mount.h is included via xfs/xfs.h header and we need sys/mount.h |
@@ -12,16 +12,16 @@ testcase | |||
12 | Upstream-Status: Inappropriate [Libc specific Workaround] | 12 | Upstream-Status: Inappropriate [Libc specific Workaround] |
13 | 13 | ||
14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
15 | |||
15 | --- | 16 | --- |
16 | src/Makefile | 2 +- | 17 | src/Makefile | 2 +- |
17 | src/vfs/utils.c | 1 - | 18 | 1 file changed, 1 insertion(+), 1 deletion(-) |
18 | 2 files changed, 1 insertion(+), 2 deletions(-) | ||
19 | 19 | ||
20 | diff --git a/src/Makefile b/src/Makefile | 20 | diff --git a/src/Makefile b/src/Makefile |
21 | index 665edcf9..7debcbbd 100644 | 21 | index 2815f919..448fccc9 100644 |
22 | --- a/src/Makefile | 22 | --- a/src/Makefile |
23 | +++ b/src/Makefile | 23 | +++ b/src/Makefile |
24 | @@ -31,7 +31,7 @@ LINUX_TARGETS = xfsctl bstat t_mtab getdevicesize preallo_rw_pattern_reader \ | 24 | @@ -32,7 +32,7 @@ LINUX_TARGETS = xfsctl bstat t_mtab getdevicesize preallo_rw_pattern_reader \ |
25 | dio-invalidate-cache stat_test t_encrypted_d_revalidate \ | 25 | dio-invalidate-cache stat_test t_encrypted_d_revalidate \ |
26 | attr_replace_test swapon mkswap t_attr_corruption t_open_tmpfiles \ | 26 | attr_replace_test swapon mkswap t_attr_corruption t_open_tmpfiles \ |
27 | fscrypt-crypt-util bulkstat_null_ocount splice-test chprojid_fail \ | 27 | fscrypt-crypt-util bulkstat_null_ocount splice-test chprojid_fail \ |
@@ -30,18 +30,3 @@ index 665edcf9..7debcbbd 100644 | |||
30 | uuid_ioctl | 30 | uuid_ioctl |
31 | 31 | ||
32 | EXTRA_EXECS = dmerror fill2attr fill2fs fill2fs_check scaleread.sh \ | 32 | EXTRA_EXECS = dmerror fill2attr fill2fs fill2fs_check scaleread.sh \ |
33 | diff --git a/src/vfs/utils.c b/src/vfs/utils.c | ||
34 | index 1388edda..aacd6c0a 100644 | ||
35 | --- a/src/vfs/utils.c | ||
36 | +++ b/src/vfs/utils.c | ||
37 | @@ -10,7 +10,6 @@ | ||
38 | #include <stdlib.h> | ||
39 | #include <sys/eventfd.h> | ||
40 | #include <sys/fsuid.h> | ||
41 | -#include <sys/mount.h> | ||
42 | #include <sys/prctl.h> | ||
43 | #include <sys/socket.h> | ||
44 | #include <sys/stat.h> | ||
45 | -- | ||
46 | 2.37.2 | ||
47 | |||
diff --git a/meta-filesystems/recipes-utils/xfstests/xfstests_2023.03.05.bb b/meta-filesystems/recipes-utils/xfstests/xfstests_2023.10.29.bb index cfb6e4fd82..79775fcb78 100644 --- a/meta-filesystems/recipes-utils/xfstests/xfstests_2023.03.05.bb +++ b/meta-filesystems/recipes-utils/xfstests/xfstests_2023.10.29.bb | |||
@@ -2,13 +2,12 @@ SUMMARY = "File system QA test suite" | |||
2 | LICENSE = "GPL-2.0-only" | 2 | LICENSE = "GPL-2.0-only" |
3 | LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0;md5=74274e8a218423e49eefdea80bc55038" | 3 | LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0;md5=74274e8a218423e49eefdea80bc55038" |
4 | 4 | ||
5 | SRCREV = "11914614784735c504f43b5b6baabaa713375984" | ||
5 | SRCREV_FORMAT = "xfstests_unionmount" | 6 | SRCREV_FORMAT = "xfstests_unionmount" |
6 | 7 | ||
7 | SRC_URI = "git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git;branch=master;name=xfstests \ | 8 | SRC_URI = "git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git;branch=for-next;name=xfstests \ |
8 | 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 \ |
9 | file://0001-Add-a-return-type-to-aio_rw.patch \ | ||
10 | file://0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch \ | 10 | file://0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch \ |
11 | file://0001-m4-Check-for-FTW_ACTIONRETVAL-along-with-nftw.patch \ | ||
12 | " | 11 | " |
13 | 12 | ||
14 | SRCREV_xfstests = "f7765774a1b5cb98c2f21a892e82b3421f40e791" | 13 | SRCREV_xfstests = "f7765774a1b5cb98c2f21a892e82b3421f40e791" |