提交 3cd52ab6 编写于 作者: C Chris Wright 提交者: Greg Kroah-Hartman

debugfs: make __create_file static

It's only used locally, no need to pollute global namespace.
Signed-off-by: NChris Wright <chrisw@sous-sol.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 0ea62503
无相关合并请求
...@@ -291,9 +291,9 @@ static struct file_system_type debug_fs_type = { ...@@ -291,9 +291,9 @@ static struct file_system_type debug_fs_type = {
.kill_sb = kill_litter_super, .kill_sb = kill_litter_super,
}; };
struct dentry *__create_file(const char *name, umode_t mode, static struct dentry *__create_file(const char *name, umode_t mode,
struct dentry *parent, void *data, struct dentry *parent, void *data,
const struct file_operations *fops) const struct file_operations *fops)
{ {
struct dentry *dentry = NULL; struct dentry *dentry = NULL;
int error; int error;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部