]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftest: fix headers in fclog.c
authorJori Koolstra <jkoolstra@xs4all.nl>
Fri, 10 Jul 2026 17:17:35 +0000 (19:17 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 21 Jul 2026 00:41:28 +0000 (17:41 -0700)
commite3a0127eee04db8769e53c8102c4e76aa49be8c3
treed0be88b756315b56df3d093b529f8b8a6f09e7d6
parentdf8ce7ab48d01ac4f247599b35f0506d95ff57e1
selftest: fix headers in fclog.c

fclog.c does not compile because it is missing fcntl.h, needed for
O_RDONLY etc.

There are also some redundant includes that are also in
kselftest_harness.h.

Link: https://lore.kernel.org/20260710171741.837308-1-jkoolstra@xs4all.nl
Signed-off-by: Jori Koolstra <jkoolstra@xs4all.nl>
Cc: Aleksa Sarai <cyphar@cyphar.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Wei Yang <richard.weiyang@gmail.com>
Cc: Christian Brauner <brauner@kernel.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/filesystems/fclog.c