Repository navigation
Commit 46ae220
cgroup: switch to proc_create()
There is a race between create_proc_entry() and the assignment of file ops.
proc_create() is invented to fix it.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Paul Menage <menage@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>1 parent 06a1192 commit 46ae220
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2545 | 2545 | | |
2546 | 2546 | | |
2547 | 2547 | | |
2548 | | - | |
2549 | 2548 | | |
2550 | 2549 | | |
2551 | 2550 | | |
| |||
2561 | 2560 | | |
2562 | 2561 | | |
2563 | 2562 | | |
2564 | | - | |
2565 | | - | |
2566 | | - | |
| 2563 | + | |
2567 | 2564 | | |
2568 | 2565 | | |
2569 | 2566 | | |
| |||
0 commit comments