diff options
author | Chris Wright <chrisw@sous-sol.org> | 2012-08-09 18:40:39 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-16 14:41:51 -0400 |
commit | 3cd52ab68b7f17eddbff46c1f8e5a105cd901f8e (patch) | |
tree | 5b93d7448390b90daa58e0e6070459a96ad069b3 /fs/debugfs | |
parent | 0ea62503782699adf5757cb1d3cd9f880d13c48c (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')
-rw-r--r-- | fs/debugfs/inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index 4733eab34a23..2c9fafbe8425 100644 --- a/fs/debugfs/inode.c +++ b/fs/debugfs/inode.c | |||
@@ -291,9 +291,9 @@ static struct file_system_type debug_fs_type = { | |||
291 | .kill_sb = kill_litter_super, | 291 | .kill_sb = kill_litter_super, |
292 | }; | 292 | }; |
293 | 293 | ||
294 | struct dentry *__create_file(const char *name, umode_t mode, | 294 | static struct dentry *__create_file(const char *name, umode_t mode, |
295 | struct dentry *parent, void *data, | 295 | struct dentry *parent, void *data, |
296 | const struct file_operations *fops) | 296 | const struct file_operations *fops) |
297 | { | 297 | { |
298 | struct dentry *dentry = NULL; | 298 | struct dentry *dentry = NULL; |
299 | int error; | 299 | int error; |