diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2009-12-16 01:47:00 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-16 16:20:07 +0100 |
commit | 6be4b78993498c253e99b12c4d0f7684a36955e2 (patch) | |
tree | 0ae9cc80b96a825b1723d427c250d16edf52deeb /mm/memcontrol.c | |
parent | proc: remove docbook and example (diff) | |
download | linux-6be4b78993498c253e99b12c4d0f7684a36955e2.tar.xz linux-6be4b78993498c253e99b12c4d0f7684a36955e2.zip |
seq_file: use proc_create() in documentation
Using create_proc_entry() + ->proc_fops assignment is racy because
->proc_fops will be NULL for some time, use proc_create() to avoid race.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions