]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests/ftrace: Fix to use remount when testing mount GID option
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Tue, 7 Jan 2025 12:11:07 +0000 (21:11 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Feb 2025 09:02:20 +0000 (10:02 +0100)
commit28231a5f8f69a9de95eab49db94de8d329086a6d
tree34922723ade20cc9b189df43f579e111993bf36f
parentd443255617370ad1ef36c044e4f54891f1a1335b
selftests/ftrace: Fix to use remount when testing mount GID option

commit 159ca65c42d90d5ab98fc31b708b12c0be2c26e0 upstream.

Fix mount_options.tc to use remount option to mount the tracefs.
Since the current implementation does not umount the tracefs,
this test always fails because of -EBUSY error.
Using remount option will allow us to change the mount option.

Link: https://lore.kernel.org/r/173625186741.1383744.16707876180798573039.stgit@devnote2
Fixes: 8b55572e5180 ("tracing/selftests: Add tracefs mount options test")
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/ftrace/test.d/00basic/mount_options.tc