diff options
author | James Bottomley | 2006-09-01 00:15:22 +0200 |
---|---|---|
committer | James Bottomley | 2006-09-01 23:56:56 +0200 |
commit | 85b6c720b0931101c8bcc3a5abdc2b8514b0fb4b (patch) | |
tree | a6d2883ef3b4f40a71d59c9db0fda87d43419463 /sound/isa | |
parent | [SCSI] add shared tag map helpers (diff) | |
download | kernel-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 'sound/isa')
0 files changed, 0 insertions, 0 deletions