patch-2.3.39 linux/drivers/block/ataflop.c
Next file: linux/drivers/block/cpqarray.c
Previous file: linux/drivers/block/amiflop.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Sat Jan 8 17:41:16 2000
- Orig file:
v2.3.38/linux/drivers/block/ataflop.c
- Orig date:
Fri Jan 7 19:13:21 2000
diff -u --recursive --new-file v2.3.38/linux/drivers/block/ataflop.c linux/drivers/block/ataflop.c
@@ -1941,11 +1941,7 @@
static int floppy_release( struct inode * inode, struct file * filp )
{
- int drive;
-
- drive = MINOR(inode->i_rdev) & 3;
-
- block_fsync (filp, filp->f_dentry);
+ int drive = MINOR(inode->i_rdev) & 3;
if (fd_ref[drive] < 0)
fd_ref[drive] = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)