selftests/fs/mount-notify: Fix compilation failure.
authorXing Guo <higuoxing@gmail.com>
Wed, 13 Aug 2025 03:16:47 +0000 (11:16 +0800)
committerChristian Brauner <brauner@kernel.org>
Tue, 2 Sep 2025 08:34:37 +0000 (10:34 +0200)
commite51bd0e595476c1527bb0b4def095a6fd16b2563
treebb8fb6b29f582842f87179785fbdfb200042ac42
parente23654f5b12b1aa3384d0565ce1eb5ff860a5592
selftests/fs/mount-notify: Fix compilation failure.

Commit c6d9775c2066 ("selftests/fs/mount-notify: build with tools include
dir") introduces the struct __kernel_fsid_t to decouple dependency with
headers_install.  The commit forgets to define a macro for __kernel_fsid_t
and it will cause type re-definition issue.

Signed-off-by: Xing Guo <higuoxing@gmail.com>
Link: https://lore.kernel.org/20250813031647.96411-1-higuoxing@gmail.com
Acked-by: Amir Goldstein <amir73il@gmail.com>
Closes: https://lore.kernel.org/oe-lkp/202508110628.65069d92-lkp@intel.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
tools/testing/selftests/filesystems/mount-notify/mount-notify_test.c
tools/testing/selftests/filesystems/mount-notify/mount-notify_test_ns.c