Skip to content

Commit d3238e8

Browse files
committed
selftests: remove unneeded include
The pidfd header will be included in a sample program and this pulls in all the mount definitions that would be causing problems. Link: https://lore.kernel.org/r/20241213-work-mount-rbtree-lockless-v3-9-6e3cdaf9b280@kernel.org Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent 9d87b10 commit d3238e8

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • tools/testing/selftests/pidfd

tools/testing/selftests/pidfd/pidfd.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#include <stdlib.h>
1313
#include <string.h>
1414
#include <syscall.h>
15-
#include <sys/mount.h>
1615
#include <sys/types.h>
1716
#include <sys/wait.h>
1817

0 commit comments

Comments
 (0)