]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
debugfs: fix placement of EXPORT_SYMBOL_GPL for debugfs_create_str()
authorGui-Dong Han <hanguidong02@gmail.com>
Mon, 23 Mar 2026 08:58:45 +0000 (16:58 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Apr 2026 14:15:23 +0000 (16:15 +0200)
commit4afc929c0f74c4f22b055a82b371d50586da58ca
treeea9d998999df440396c6348be109a52fe0b571b6
parent31de83980d3764d784f79ff1bc93c42b324f4013
debugfs: fix placement of EXPORT_SYMBOL_GPL for debugfs_create_str()

The EXPORT_SYMBOL_GPL() for debugfs_create_str was placed incorrectly
away from the function definition. Move it immediately below the
debugfs_create_str() function where it belongs.

Fixes: d60b59b96795 ("debugfs: Export debugfs_create_str symbol")
Signed-off-by: Gui-Dong Han <hanguidong02@gmail.com>
Link: https://patch.msgid.link/20260323085930.88894-3-hanguidong02@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/debugfs/file.c