Denis V. Lunev ac41cfd19b isdn: 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>
Acked-by: Karsten Keil <kkeil@suse.de>
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-04-28 10:03:31 -07:00
2008-04-29 08:06:18 -07:00
2008-03-13 22:53:29 +01:00
2008-04-28 15:05:44 -04:00
2008-04-21 22:38:45 +00:00
2008-04-28 08:58:34 -07:00
2008-04-29 08:06:18 -07:00
2008-04-25 00:06:52 +01:00
2008-04-29 08:06:18 -07:00
2008-04-28 08:58:32 -07:00
2008-04-29 08:06:18 -07:00
2008-04-19 20:40:10 -04:00
2008-04-29 08:06:18 -07:00
2008-04-28 23:44:43 +02:00
2008-04-29 08:06:18 -07:00
2008-03-03 10:47:13 -08:00
2008-04-28 08:58:31 -07:00
2008-04-23 21:25:35 -04:00
2008-04-29 08:06:18 -07:00
2008-04-07 13:14:22 -07:00
2008-03-04 16:35:12 -08:00
2008-04-24 23:57:33 +02:00
2008-04-24 23:57:33 +02:00