WSL2-Linux-Kernel/drivers/zorro
Denis V. Lunev 659f865ea6 zorro: 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: Geert Uytterhoeven <geert@linux-m68k.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:21 -07:00
..
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gen-devlist.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
names.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
proc.c zorro: use non-racy method for proc entries creation 2008-04-29 08:06:21 -07:00
zorro-driver.c Amiga zorro bus: Add missing zorro_device_remove() 2007-11-26 19:15:31 -08:00
zorro-sysfs.c zorro: Make sysfs config attribute read-only 2007-08-22 19:52:45 -07:00
zorro.c Amiga Zorro bus: kill resource_size_t warnings 2007-05-04 17:59:08 -07:00
zorro.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zorro.ids Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00