James Bottomley [EMAIL PROTECTED] wrote: > ===== drivers/scsi/sr.c 1.103 vs edited ===== > --- 1.103/drivers/scsi/sr.c Fri Apr 2 11:30:44 2004 > +++ edited/drivers/scsi/sr.c Fri Apr 2 17:29:06 2004 > @@ -424,8 +424,19 @@ > > static int sr_block_release(struct inode *inode, struct file *file) > { > + int ret; > struct scsi_cd *cd = scsi_cd(inode->i_bdev->bd_disk); > - return cdrom_release(&cd->cdi, file); > + struct scsi_device *sdev = cd->device; > + ret = cdrom_release(&cd->cdi, file); > + if(ret) > + return ret;
It looks like cdrom_release always returns 0? Is there some other patch outstanding that changes this. -andmike -- Michael Anderson [EMAIL PROTECTED] ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel