patch-2.3.39 linux/drivers/block/amiflop.c
Next file: linux/drivers/block/ataflop.c
Previous file: linux/drivers/block/acsi.c
Back to the patch index
Back to the overall index
-  Lines: 17
-  Date:
Sat Jan  8 17:41:16 2000
-  Orig file: 
v2.3.38/linux/drivers/block/amiflop.c
-  Orig date: 
Fri Jan  7 19:13:21 2000
diff -u --recursive --new-file v2.3.38/linux/drivers/block/amiflop.c linux/drivers/block/amiflop.c
@@ -1686,16 +1686,6 @@
 #endif
 	int drive = MINOR(inode->i_rdev) & 3;
 
-	fsync_dev(inode->i_rdev);
-
-#ifdef DEBUG
-	/* This is now handled in floppy_change, but still useful for debugging */
-	sb = get_super(inode->i_rdev);
-	if (sb)
-		invalidate_inodes(sb);
-	invalidate_buffers(inode->i_rdev);
-#endif
-
 	if (unit[drive].dirty == 1) {
 		del_timer (flush_track_timer + drive);
 		non_int_flush_track (drive);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)