patch-2.3.39 linux/drivers/cdrom/cdrom.c
Next file: linux/drivers/cdrom/gscd.c
Previous file: linux/drivers/cdrom/aztcd.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Sat Jan 8 17:41:16 2000
- Orig file:
v2.3.38/linux/drivers/cdrom/cdrom.c
- Orig date:
Fri Jan 7 19:13:21 2000
diff -u --recursive --new-file v2.3.38/linux/drivers/cdrom/cdrom.c linux/drivers/cdrom/cdrom.c
@@ -640,11 +640,6 @@
!(fp && fp->f_flags & O_NONBLOCK);
cdo->release(cdi);
if (cdi->use_count == 0) { /* last process that closes dev*/
- struct super_block *sb;
- sync_dev(dev);
- sb = get_super(dev);
- if (sb) invalidate_inodes(sb);
- invalidate_buffers(dev);
if (opened_for_data &&
cdi->options & CDO_AUTO_EJECT && CDROM_CAN(CDC_OPEN_TRAY))
cdo->tray_move(cdi, 1);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)