commit | a95609cb0283a23e519e607ff9fc2a4aa77e2532 | [log] [tgz] |
---|---|---|
author | Denis V. Lunev <den@openvz.org> | Tue Apr 29 01:02:29 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Apr 29 08:06:22 2008 -0700 |
tree | 053d411aa27dafead6326a70d0ca3482bd2d0494 | |
parent | cf7acfab032ff262f42954328cdfd20a5d9aaaac [diff] |
netdev: use non-racy method for proc entries creation Use proc_create()/proc_create_data() to make sure that ->proc_fops and ->data be setup before gluing PDE to main tree. Signed-off-by: Denis V. Lunev <den@openvz.org> Cc: Jeff Garzik <jgarzik@pobox.com> 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>