pre6: fix for hd.c

Christian Groessler (cpg@aladdin.de)
Thu, 14 Jan 1999 01:27:09 +0100


Hello,

pre6 gave me pretty oopses on one machine when shutdown
unmounted the partitions. The reason was in the old hd driver:

------------
--- linux-2.2.0-pre6/drivers/block/hd.c.org Fri Jun 26 23:35:34 1998
+++ linux-2.2.0-pre6/drivers/block/hd.c Thu Jan 14 00:43:23 1999
@@ -783,6 +783,7 @@
hd_ioctl, /* ioctl */
NULL, /* mmap */
hd_open, /* open */
+ NULL, /* flush */
hd_release, /* release */
block_fsync /* fsync */
};
------------

regards,
chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/