paride drivers: initialize spinlocks
authorAlexey Dobriyan <adobriyan@sw.ru>
Mon, 23 Apr 2007 21:41:07 +0000 (14:41 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 24 Apr 2007 15:23:08 +0000 (08:23 -0700)
commit671d40f4aa20d31121695e33393c9bd87053f4fa
tree21e7ef41258e7b6026f0f4784b46875ae338696a
parentf318a63ba018d1f30521b733e86fc2d0207e496b
paride drivers: initialize spinlocks

pcd_lock and pf_spin_lock are passed to blk_init_queue() which, seeing them
as valid lock pointer, sets it as ->queue_lock.

The problem is that pcd_lock and pf_spin_lock aren't initialized anywhere.

Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/paride/pcd.c
drivers/block/paride/pf.c