2002-12-15 10:28:59

by Osamu Tomita

[permalink] [raw]
Subject: [PATCHSET] PC-9800 addtional for 2.5.50-ac1 (1/21)

--- linux-2.5.47-ac5/drivers/block/floppy98.c Mon Nov 11 12:28:05 2002
+++ linux-2.5.48/drivers/block/floppy98.c Tue Nov 19 10:15:36 2002
@@ -167,6 +167,7 @@
#include <linux/kernel.h>
#include <linux/timer.h>
#include <linux/workqueue.h>
+#include <linux/version.h>
#define FDPATCHES
#include <linux/fdreg.h>

@@ -3354,7 +3355,7 @@
static int invalidate_drive(struct block_device *bdev)
{
/* invalidate the buffer track to force a reread */
- set_bit(DRIVE(to_kdev_t(bdev->bd_dev)), &fake_change);
+ set_bit((int)bdev->bd_disk->private_data, &fake_change);
process_fd_request();
check_disk_change(bdev);
return 0;


Attachments:
floppy98-update.patch (630.00 B)