Subject: CVS commit: src/sys/dev/usb
To: None <>
From: IWAMOTO Toshihiro <>
List: source-changes
Date: 01/01/2003 17:55:50
Module Name:	src
Committed By:	toshii
Date:		Wed Jan  1 15:55:49 UTC 2003

Modified Files:
	src/sys/dev/usb: umass.c

Log Message:
Assign NULL to sc_pipe after closing, so that usbd_close_pipe isn't
called twice.  At least in NetBSD, the detach function is called when the
device is removed, even if the attach function has failed.
This is probably the cause of panics reported in kern/19326.

To generate a diff of this commit:
cvs rdiff -r1.92 -r1.93 src/sys/dev/usb/umass.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.