public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* How to get scsi_device structure for /dev/sda
@ 2011-10-14  4:29 Pankaj B
  2011-10-14  7:33 ` Christoph Hellwig
  0 siblings, 1 reply; 3+ messages in thread
From: Pankaj B @ 2011-10-14  4:29 UTC (permalink / raw)
  To: linux-scsi

Hi,
Is it possible to get scsi_device structure for a disk attached to system?
There is a similar function "open_bdev_exclusive" that gives
block_device structure
for /dev/sda.


Thanks,
Pankaj

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-14  7:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-14  4:29 How to get scsi_device structure for /dev/sda Pankaj B
2011-10-14  7:33 ` Christoph Hellwig
2011-10-14  7:46   ` Pankaj B

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox