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

Next file: linux/drivers/scsi/sym53c8xx.c
Previous file: linux/drivers/scsi/scsi_merge.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.38/linux/drivers/scsi/sd.c linux/drivers/scsi/sd.c
@@ -19,6 +19,7 @@
  *       scsi disks using eight major numbers.
  */
 
+#include <linux/config.h>
 #include <linux/module.h>
 #ifdef MODULE
 /*
@@ -452,7 +453,6 @@
 static int sd_release(struct inode *inode, struct file *file)
 {
 	int target;
-	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 (who was at: slshen@lbl.gov)