commit | 05447420f99c1c44063c7f00054667c022cc1365 | [log] [tgz] |
---|---|---|
author | Kiyoshi Ueda <k-ueda@ct.jp.nec.com> | Wed Sep 08 18:07:01 2010 +0200 |
committer | Jens Axboe <jaxboe@fusionio.com> | Fri Sep 10 12:35:38 2010 +0200 |
tree | 9d70e7c0037d821784b76d9d7d99c174c73d0576 | |
parent | 6a8736d10cb413be95ea443ba40f25c93f4ef9b2 [diff] |
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>