mg_disk: fix locking
authorTejun Heo <tj@kernel.org>
Tue, 28 Apr 2009 03:38:32 +0000 (12:38 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 28 Apr 2009 18:24:19 +0000 (20:24 +0200)
IRQ and timeout handlers call functions which expect locked queue lock
without locking it.  Fix it.

While at it, convert 0s used as null pointer constant to NULLs.

[ Impact: fix locking, cleanup ]

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: unsik Kim <donari75@gmail.com>

No differences found