1. 22 7月, 2011 1 次提交
    • J
      [SCSI] fix crash in scsi_dispatch_cmd() · bfe159a5
      James Bottomley 提交于
      USB surprise removal of sr is triggering an oops in
      scsi_dispatch_command().  What seems to be happening is that USB is
      hanging on to a queue reference until the last close of the upper
      device, so the crash is caused by surprise remove of a mounted CD
      followed by attempted unmount.
      
      The problem is that USB doesn't issue its final commands as part of
      the SCSI teardown path, but on last close when the block queue is long
      gone.  The long term fix is probably to make sr do the teardown in the
      same way as sd (so remove all the lower bits on ejection, but keep the
      upper disk alive until last close of user space).  However, the
      current oops can be simply fixed by not allowing any commands to be
      sent to a dead queue.
      
      Cc: stable@kernel.org
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      bfe159a5
  2. 27 6月, 2011 2 次提交
  3. 13 6月, 2011 1 次提交
  4. 10 6月, 2011 3 次提交
  5. 06 6月, 2011 1 次提交
  6. 02 6月, 2011 2 次提交
  7. 01 6月, 2011 1 次提交
  8. 27 5月, 2011 4 次提交
  9. 24 5月, 2011 5 次提交
  10. 23 5月, 2011 3 次提交
  11. 21 5月, 2011 14 次提交
  12. 19 5月, 2011 1 次提交
  13. 18 5月, 2011 2 次提交