patch-1.3.90 linux/drivers/scsi/sd.c

Next file: linux/fs/buffer.c
Previous file: linux/drivers/scsi/scsi.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.89/linux/drivers/scsi/sd.c linux/drivers/scsi/sd.c
@@ -147,7 +147,7 @@
 static void sd_release(struct inode * inode, struct file * file)
 {
     int target;
-    sync_dev(inode->i_rdev);
+    fsync_dev(inode->i_rdev);
     
     target =  DEVICE_NR(inode->i_rdev);
     

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this