Skip to content

Commit

Permalink
proc: proc_sys_root tweak
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
  • Loading branch information
Alexey Dobriyan committed Oct 10, 2008
1 parent 300b994 commit e167523
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/proc/proc_sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -395,10 +395,10 @@ static struct dentry_operations proc_sys_dentry_operations = {
.d_compare = proc_sys_compare,
};

static struct proc_dir_entry *proc_sys_root;

int proc_sys_init(void)
{
struct proc_dir_entry *proc_sys_root;

proc_sys_root = proc_mkdir("sys", NULL);
proc_sys_root->proc_iops = &proc_sys_dir_operations;
proc_sys_root->proc_fops = &proc_sys_dir_file_operations;
Expand Down

0 comments on commit e167523

Please sign in to comment.