[PATCH] 2.5.2-pre8: fs/ext3

Frank Davis (fdavis@si.rr.com)
Sat, 5 Jan 2002 01:26:43 -0500 (EST)


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;
}
}

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