[SCSI] sd: fix issue_flush
authorJames Bottomley <James.Bottomley@steeleye.com>
Tue, 8 Nov 2005 14:21:07 +0000 (09:21 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Wed, 9 Nov 2005 14:31:46 +0000 (09:31 -0500)
commitc0ed79a331caa68ac027dd6afc02bb5b58ef2798
tree5c04d3ac7c7d5d0e98e2ee6858a124dd27ea922c
parent2ef8919830a262f10fb5e4a685e95f71a64bce6c
[SCSI] sd: fix issue_flush

sd_issue_flush() is called from atomic context so we can't use the
semaphore based routines to get a reference to the scsi_disk.  Assume
something else already got the reference so we can safely use it.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/sd.c