public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Ming Zhang <mingz@ele.uri.edu>
Cc: "linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>
Subject: Re: about scsi_hostlist
Date: Sun, 17 Nov 2002 22:35:58 +0000	[thread overview]
Message-ID: <20021117223558.A22956@infradead.org> (raw)
In-Reply-To: <200211172212.gAHMCp99017977@leviathan.ele.uri.edu>; from mingz@ele.uri.edu on Sun, Nov 17, 2002 at 05:11:28PM -0500

On Sun, Nov 17, 2002 at 05:11:28PM -0500, Ming Zhang wrote:
> Hi, I meet a problem when port my code to 2.5.47.
> My goal is to get all scsi disk Scsi_Device pointers.
> 
> For 2.4.18, I can use scsi_hostlist to travel through the list and get all pointer by comparing type if TYPE_DISK. But in 2.5.47, there is no such pointer. And that scsi_host_list can not be used.

You are not supposed to walk any lists that are private to the
midlayer (like scsi_hostlist).   What do you try to archive?

  parent reply	other threads:[~2002-11-17 22:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-17 22:11 about scsi_hostlist Ming Zhang
2002-11-17 22:30 ` Doug Ledford
2002-11-17 22:35 ` Christoph Hellwig [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-11-17 22:35 Ming Zhang
2002-11-17 22:41 ` Christoph Hellwig
2002-11-17 22:43 Ming Zhang
2002-11-17 22:57 ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021117223558.A22956@infradead.org \
    --to=hch@infradead.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mingz@ele.uri.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox