From: Bartlomiej Zolnierkiewicz Date: Tue, 15 Jul 2008 19:21:42 +0000 (+0200) Subject: ide: use __generic_unplug_device() in ide_do_drive_cmd() (take 2) X-Git-Tag: v2.6.27-rc1~1078^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6866a6ff571eebebda45bf14b5b62188768893a;p=pandora-kernel.git ide: use __generic_unplug_device() in ide_do_drive_cmd() (take 2) * Call __elv_add_request() with 'plug' == 1 (so the device will be plugged) and then use __generic_unplug_device() instead of calling ide_do_request() directly. v2: * For blk_pm_resume_request() requests the queue is stopped so we need to call ->request_fn explicitly. Thanks to: - Rafael for reporting/bisecting the bug - Borislav/Rafael for testing the fix This is a preparation for converting IDE to use blk_execute_rq(). Cc: FUJITA Tomonori Cc: Borislav Petkov Cc: Jens Axboe Cc: "Rafael J. Wysocki" Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed