[PATCH] selftests: Fix Makefile target for nsfs

Florian Schmaus via B4 Relay posted 1 patch 1 week, 6 days ago
tools/testing/selftests/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] selftests: Fix Makefile target for nsfs
Posted by Florian Schmaus via B4 Relay 1 week, 6 days ago
From: Florian Schmaus <flo@geekplace.eu>

The kselftests for nsfs where moved under filesystem/ with
commit cae73d3bdce5 ("seltests: move nsfs into filesystems
subfolder"). However, the kselftest TARGETS declaration was not
adjusted.

Since the kselftest Makefile ignores errors unless no target builds,
the invalid target declaration can easily be missed.

Fix this by adjusting the TARGETS accordingly.

Fixes: cae73d3bdce5 ("seltests: move nsfs into filesystems subfolder")
Signed-off-by: Florian Schmaus <flo@geekplace.eu>
---
 tools/testing/selftests/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile
index 6e59b8f63e41..641a180fb35f 100644
--- a/tools/testing/selftests/Makefile
+++ b/tools/testing/selftests/Makefile
@@ -37,6 +37,7 @@ TARGETS += filesystems/fat
 TARGETS += filesystems/overlayfs
 TARGETS += filesystems/statmount
 TARGETS += filesystems/mount-notify
+TARGETS += filesystems/nsfs
 TARGETS += filesystems/fuse
 TARGETS += filesystems/move_mount
 TARGETS += filesystems/empty_mntns
@@ -85,7 +86,6 @@ TARGETS += net/ppp
 TARGETS += net/rds
 TARGETS += net/tcp_ao
 TARGETS += nolibc
-TARGETS += nsfs
 TARGETS += pci_endpoint
 TARGETS += pcie_bwctrl
 TARGETS += perf_events

---
base-commit: 1d5dcaa3bd65f2e8c9baa14a393d3a2dc5db7524
change-id: 20260513-kselftest-nsfs-bba5fa24cb07

Best regards,
-- 
Florian Schmaus <flo@geekplace.eu>
Re: [PATCH] selftests: Fix Makefile target for nsfs
Posted by Christian Brauner 1 week, 5 days ago
On Tue, 26 May 2026 10:01:08 +0200, Florian Schmaus wrote:
> The kselftests for nsfs where moved under filesystem/ with
> commit cae73d3bdce5 ("seltests: move nsfs into filesystems
> subfolder"). However, the kselftest TARGETS declaration was not
> adjusted.
> 
> Since the kselftest Makefile ignores errors unless no target builds,
> the invalid target declaration can easily be missed.
> 
> [...]

Applied to the kernel-7.2.misc branch of the vfs/vfs.git tree.
Patches in the kernel-7.2.misc branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: kernel-7.2.misc

[1/1] selftests: Fix Makefile target for nsfs
      https://git.kernel.org/vfs/vfs/c/77d1a2d2318f