]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
drivers: use non-racy method for proc entries creation (2)
authorDenis V. Lunev <den@openvz.org>
Tue, 29 Apr 2008 08:02:35 +0000 (01:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:22 +0000 (08:06 -0700)
commitc7705f3449c7edd5c1744871097f93977227afc4
treed2f121a4b1ae3ae458db76ec0210ea2172c31e5a
parent1b50221738108c438d5f25c7a043fb89e9e27044
drivers: use non-racy method for proc entries creation (2)

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: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Peter Osterlund <petero2@telia.com>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
Cc: Neil Brown <neilb@suse.de>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
12 files changed:
drivers/block/pktcdvd.c
drivers/cdrom/viocd.c
drivers/ide/ide-proc.c
drivers/input/input.c
drivers/md/md.c
drivers/media/video/zoran_procfs.c
drivers/message/i2o/i2o_proc.c
drivers/misc/hdpuftrs/hdpu_cpustate.c
drivers/misc/hdpuftrs/hdpu_nexus.c
drivers/pci/proc.c
drivers/pnp/isapnp/proc.c
drivers/rtc/rtc-proc.c