Skip to content

Commit

Permalink
debugfs: make __create_file static
Browse files Browse the repository at this point in the history
It's only used locally, no need to pollute global namespace.

Signed-off-by: Chris Wright <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
chriswright authored and gregkh committed Aug 16, 2012
1 parent 0ea6250 commit 3cd52ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fs/debugfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3cd52ab

Please sign in to comment.