commit | 82b6d57fb11644fe25c8a1346627ad0027673dae | [log] [tgz] |
---|---|---|
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | Sat Jul 03 08:07:04 2010 -0600 |
committer | Jens Axboe <jaxboe@fusionio.com> | Sat Aug 07 18:24:15 2010 +0200 |
tree | 0270b7eb3e995f88cbe1e8626153af15a5cc05d8 | |
parent | 00fff26539bfe3fad21c164fc4002d9ede056fb0 [diff] |
scsi: need to reset unprep_rq_fn in sd_remove This is for block's for-2.6.36. We need to reset q->unprep_rq_fn in sd_remove. Otherwise we hit kernel oops if we access to a scsi disk device via sg after removing scsi disk module. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>