Denis V. Lunev cf7acfab03 acpi: 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.

Add correct ->owner to proc_fops to fix reading/module unloading race.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Cc: Len Brown <lenb@kernel.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>
2008-04-29 08:06:22 -07:00
..
2008-02-21 02:01:30 -05:00
2007-05-09 23:34:35 -04:00
2007-08-11 15:47:42 -07:00
2008-03-18 02:31:34 -04:00
2007-02-12 22:42:12 -05:00
2008-02-07 03:33:23 -05:00
2008-02-07 03:33:23 -05:00
2008-02-07 03:33:23 -05:00
2008-02-07 03:33:23 -05:00
2008-03-18 05:13:14 -04:00