2002-01-05 06:38:48

by Frank Davis

[permalink] [raw]
Subject: [PATCH] 2.5.2-pre8: fs/ext3

Hello all,
The following patch appears to fix the recent compile error, although it
might not be correct.
Regards,
Frank

--- fs/ext3/super.c.old Sat Jan 5 00:26:34 2002
+++ fs/ext3/super.c Sat Jan 5 01:20:01 2002
@@ -56,10 +56,10 @@

static void make_rdonly(kdev_t dev, int *no_write)
{
- if (dev) {
+ if (dev.value) {
printk(KERN_WARNING "Turning device %s read-only\n",
bdevname(dev));
- *no_write = 0xdead0000 + dev;
+ *no_write = 0xdead0000 + dev.value;
}
}