diff options
author | Denis V. Lunev <den@openvz.org> | 2008-04-29 01:02:13 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 08:06:20 -0700 |
commit | 3d71f86f4dfccd749e4421f10301f3f3b31da88a (patch) | |
tree | 7a052e776b660a2fa1bbe3702fd061bc3d3e6a37 /kernel/printk.c | |
parent | 6a6375db13703b42dd51b28576d444bb73c541b9 (diff) |
mm: use non-racy method for /proc/swaps creation
Use proc_create() to make sure that ->proc_fops be setup before gluing PDE to
main tree.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/printk.c')
0 files changed, 0 insertions, 0 deletions