]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/statmount: remove duplicate wait_for_pid()
authorChristian Brauner <brauner@kernel.org>
Mon, 23 Mar 2026 15:31:30 +0000 (16:31 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 14 Apr 2026 07:30:31 +0000 (09:30 +0200)
commita27e4642629381ed36d7e22d5b6fff5792ec31f6
treeee895d2948371fe32f26164319a56deb7840d776
parentad4999496e73923adb524b24c2f448c9498476b5
selftests/statmount: remove duplicate wait_for_pid()

Remove the local static wait_for_pid() definition from
statmount_test_ns.c as it conflicts with the extern declaration in
utils.h. The identical function is already provided by utils.c.

Fixes: 3ac7ea91f3d0 ("selftests: add FSMOUNT_NAMESPACE tests")
Cc: <stable@kernel.org> # mainline only
Signed-off-by: Christian Brauner <brauner@kernel.org>
tools/testing/selftests/filesystems/statmount/statmount_test_ns.c