Message ID | 20141015143745.6b00efce5bf8a302d2befca3@linux-foundation.org |
---|---|
State | RFC, archived |
Delegated to: | David Miller |
Headers | show |
--- a/fs/proc/root.c~fs-proc-use-a-rb-tree-for-the-directory-entries-fix +++ a/fs/proc/root.c @@ -166,7 +166,6 @@ void __init proc_root_init(void) { int err; - proc_root.subdir = RB_ROOT; proc_init_inodecache(); err = register_filesystem(&proc_fs_type); if (err) @@ -252,6 +251,7 @@ struct proc_dir_entry proc_root = { .proc_iops = &proc_root_inode_operations, .proc_fops = &proc_root_operations, .parent = &proc_root, + .subdir = RB_ROOT, .name = "/proc", };