From: FUJITA Tomonori Date: Sat, 3 Jul 2010 14:07:04 +0000 (-0600) Subject: scsi: need to reset unprep_rq_fn in sd_remove X-Git-Tag: v2.6.36-rc1~288^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82b6d57fb11644fe25c8a1346627ad0027673dae;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed