dm: fix locking context in queue_io()
authorKiyoshi Ueda <k-ueda@ct.jp.nec.com>
Wed, 8 Sep 2010 16:07:01 +0000 (18:07 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 10 Sep 2010 10:35:38 +0000 (12:35 +0200)
commit05447420f99c1c44063c7f00054667c022cc1365
tree9d70e7c0037d821784b76d9d7d99c174c73d0576
parent6a8736d10cb413be95ea443ba40f25c93f4ef9b2
dm: fix locking context in queue_io()

Now queue_io() is called from dec_pending(), which may be called with
interrupts disabled, so queue_io() must not enable interrupts
unconditionally and must save/restore the current interrupts status.

Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/md/dm.c
This page took 0.025312 seconds and 5 git commands to generate.