RE: [PATCH] drivers/scsi/sg.c: fix problems when sg_remove is called before sg_release

2005-07-11 Thread Dailey, Nate
OTECTED] > Sent: Tuesday, April 12, 2005 7:04 AM > To: Dailey, Nate > Cc: 'linux-scsi@vger.kernel.org' > Subject: Re: [PATCH] drivers/scsi/sg.c: fix problems when > sg_remove is called before sg_release > > > Dailey, Nate wrote: > > This is my first attemp

Re: [PATCH] drivers/scsi/sg.c: fix problems when sg_remove is called before sg_release

2005-04-12 Thread Douglas Gilbert
Dailey, Nate wrote: This is my first attempt at submitting a patch, so I hope I'm not making any mistakes... This patch fixes two problems I came across in sg, both of which occur when sg_remove is called on a disk which hasn't yet been sg_release'd: 1. I got the following Oops in sg_remove: -- Una