Re: [Linux-ia64] kernel update (relative to 2.4.5)

Martin Wilck
2001-06-27T18:10:25Z

> I appled that to a Linus 2.4.5 tree, but it doesn't compile with
> devfs enabled but dev/guid disabled. fs/partitions/check.c:522
> has an unprotected call to free_disk_guids().

I am sorry. The patch is almost too trivial to post it here, but may
still save people time:

--- 2.4.5mw/fs/partitions/check.c~ Wed Jun 27 12:36:18 2001
+++ 2.4.5mw/fs/partitions/check.c Wed Jun 27 21:53:10 2001
@@ -519,7 +519,9 @@
if (unregister) {
devfs_unregister (dev->part[minor].de);
dev->part[minor].de = NULL;
+#ifdef CONFIG_DEVFS_GUID
free_disk_guids (dev, minor);
+#endif
}
#endif /* CONFIG_DEVFS_FS */
}

Martin

--
Martin Wilck <Martin.Wilck@fujitsu-siemens.com>
FSC EP PS DS1, Paderborn Tel. +49 5251 8 15113