diff options
author | James Bottomley <James.Bottomley@steeleye.com> | 2006-08-31 18:15:22 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-09-01 17:56:56 -0400 |
commit | 85b6c720b0931101c8bcc3a5abdc2b8514b0fb4b (patch) | |
tree | a6d2883ef3b4f40a71d59c9db0fda87d43419463 /fs/seq_file.c | |
parent | 86e33a296c2c9ed6eece0bfff4ac776f42040504 (diff) |
[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 'fs/seq_file.c')
0 files changed, 0 insertions, 0 deletions