ps3vram: Use proc_create_data() instead of proc_create()
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Wed, 10 Jun 2009 04:38:38 +0000 (04:38 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 15 Jun 2009 03:26:18 +0000 (13:26 +1000)
commit3c20e2f2793380add92dacce63395a8503b6c7c9
tree6e4c10bf5162b0c9a479bc3180dc2cd59040409a
parent734957c89794971c874f9d3ccd9eb49dc3325f65
ps3vram: Use proc_create_data() instead of proc_create()

Use proc_create_data() to avoid race conditions.

Reported-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Cc: Jim Paris <jim@jtan.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/block/ps3vram.c