diff options
author | Denis V. Lunev <den@openvz.org> | 2008-04-29 04:02:13 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 11:06:20 -0400 |
commit | 3d71f86f4dfccd749e4421f10301f3f3b31da88a (patch) | |
tree | 7a052e776b660a2fa1bbe3702fd061bc3d3e6a37 /mm/sparse.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 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions