Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3cd52ab6 authored by Chris Wright's avatar Chris Wright Committed by Greg Kroah-Hartman
Browse files

debugfs: make __create_file static



It's only used locally, no need to pollute global namespace.

Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0ea62503
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -291,7 +291,7 @@ 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)
{
{