summaryrefslogtreecommitdiff
path: root/include/asm-mips/sibyte/board.h
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2005-11-04 19:44:41 (GMT)
committerJames Bottomley <jejb@mulgrave.(none)>2005-11-05 15:52:24 (GMT)
commit39b7f1e25a412b0ef31e516cfc2fa4f40235f263 (patch)
treeff9d9c44b6199624d87af0d4776f2ecfd18f2635 /include/asm-mips/sibyte/board.h
parent0ee957cb7a8f6e4fb8c6f943dbc451957bc0c6bc (diff)
downloadlinux-fsl-qoriq-39b7f1e25a412b0ef31e516cfc2fa4f40235f263.tar.xz
[SCSI] sd: Fix refcounting
Currently the driver takes a reference only for requests coming by way of the gendisk, not for requests coming by way of the struct device or struct scsi_device. Such requests can arrive in the rescan, flush, and shutdown pathways. The patch also makes the scsi_disk keep a reference to the underlying scsi_device, and it erases the scsi_device's pointer to the scsi_disk when the scsi_device is removed (since the pointer should no longer be used). This resolves Bugzilla entry #5237. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/asm-mips/sibyte/board.h')
0 files changed, 0 insertions, 0 deletions