lkml.org 
[lkml]   [2002]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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;
}
}


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:18    [W:0.114 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site