Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository
Switch branch/tag
  • xcap-capability-linux
  • drivers
  • scsi
  • scsi_lib.c
Find file BlameHistoryPermalink
  • James Bottomley's avatar
    [SCSI] SCSI core: fix leakage of scsi_cmnd's · 788ce43a
    James Bottomley authored Sep 09, 2005
    
    
    Actually, just one problem and one cosmetic fix:
    
    1) We need to dequeue for the loop and kill case (it seems easiest
    simply to dequeue in the scsi_kill_request() routine)
    2) There's no real need to drop the queue lock.  __scsi_done() is lock
    agnostic, so since there's no requirement, let's just leave it in to
    avoid any locking issues.
    
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
    788ce43a