aboutsummaryrefslogtreecommitdiff
path: root/fs/debugfs/inode.c
diff options
context:
space:
mode:
authorChris Wright <chrisw@sous-sol.org>2012-08-09 15:40:39 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-16 11:41:51 -0700
commit3cd52ab68b7f17eddbff46c1f8e5a105cd901f8e (patch)
tree5b93d7448390b90daa58e0e6070459a96ad069b3 /fs/debugfs/inode.c
parent0ea62503782699adf5757cb1d3cd9f880d13c48c (diff)
debugfs: make __create_file static
It's only used locally, no need to pollute global namespace. Signed-off-by: Chris Wright <chrisw@sous-sol.org> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/debugfs/inode.c')
-rw-r--r--fs/debugfs/inode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c
index 4733eab34a2..2c9fafbe842 100644
--- a/fs/debugfs/inode.c
+++ b/fs/debugfs/inode.c
@@ -291,9 +291,9 @@ static struct file_system_type debug_fs_type = {
.kill_sb = kill_litter_super,
};
-struct dentry *__create_file(const char *name, umode_t mode,
- struct dentry *parent, void *data,
- const struct file_operations *fops)
+static struct dentry *__create_file(const char *name, umode_t mode,
+ struct dentry *parent, void *data,
+ const struct file_operations *fops)
{
struct dentry *dentry = NULL;
int error;