[7832] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

[Question] rscsi_disks[].device being NULL

daemon@ATHENA.MIT.EDU (Alexander Viro)
Sat Jan 15 18:06:14 2000

Date:   Fri, 14 Jan 2000 04:02:32 -0500 (EST)
From: Alexander Viro <viro@math.psu.edu>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-scsi@vger.rutgers.edu
Message-ID: <Pine.GSO.4.10.10001140353100.853-100000@weyl.math.psu.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

	... how can it happen in revalidate_scsidisk()? Immediately before
checking for it we do scsi_init_onedisk(target); and this one would die
horrible death if rscsi_disk[target].device was NULL. So either it's too
late or it is always false. Unless you object I'll remove it - it stands
on the way of resetup_one_dev() patch...
							Al


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post