summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorJames Bottomley2006-09-01 00:15:22 +0200
committerJames Bottomley2006-09-01 23:56:56 +0200
commit85b6c720b0931101c8bcc3a5abdc2b8514b0fb4b (patch)
treea6d2883ef3b4f40a71d59c9db0fda87d43419463 /init
parent[SCSI] add shared tag map helpers (diff)
downloadkernel-qcow2-linux-85b6c720b0931101c8bcc3a5abdc2b8514b0fb4b.tar.gz
kernel-qcow2-linux-85b6c720b0931101c8bcc3a5abdc2b8514b0fb4b.tar.xz
kernel-qcow2-linux-85b6c720b0931101c8bcc3a5abdc2b8514b0fb4b.zip
[SCSI] sd: fix cache flushing on module removal (and individual device removal)
The fix isn't actually in sd: it's in scsi_device_get(). I modified it to allow devices to be returned in SDEV_CANCEL, but not SDEV_DEL. This means that the device_remove_driver, which occurs in device_del() in scsi_remove_device() after the device has gone into SDEV_CANCEL is now effective at flushing the cache. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions