commit | 3d71f86f4dfccd749e4421f10301f3f3b31da88a | [log] [tgz] |
---|---|---|
author | Denis V. Lunev <[email protected]> | Tue Apr 29 01:02:13 2008 -0700 |
committer | Linus Torvalds <[email protected]> | 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 <[email protected]> Cc: Alexey Dobriyan <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>