commit | 3d71f86f4dfccd749e4421f10301f3f3b31da88a | [log] [tgz] |
---|---|---|
author | Denis V. Lunev <den@openvz.org> | Tue Apr 29 01:02:13 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Apr 29 08:06:20 2008 -0700 |
tree | 7a052e776b660a2fa1bbe3702fd061bc3d3e6a37 | |
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>