]> git.hungrycats.org Git - linux/commit
[PATCH] unplugging fix
authorAndrew Morton <akpm@digeo.com>
Tue, 11 Mar 2003 11:13:16 +0000 (03:13 -0800)
committerHideaki Yoshifuji <yoshfuji@linux-ipv6.org>
Tue, 11 Mar 2003 11:13:16 +0000 (03:13 -0800)
commitcd9a1f5f2aeabee7645fa56a2ecca5bd0465ddc9
tree9b814d9af80fcbcaf7c0e9fd63ec5a271cfa15ff
parent149ffd286d9a1b4981e1693ef0f4aaa0dcd1ea09
[PATCH] unplugging fix

Patch from Neil Brown <neilb@cse.unsw.edu.au>

Allow auto-unplugging to work for devices that do it themselves.

Auto-unplugging - and blk_unplug_work in particular - assumes that the device
uses "generic_unplug_device" for unplugging, but some devices don't.  md
crashes.

So blk_unplug_work should use ->unplug_fn
drivers/block/ll_rw_blk.c