<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
I used this patch.<br>
<br>
##### BEGIN <br>
<br>
--- drbd_main.c 2008-05-27 10:50:56.000000000 +0200<br>
+++ ../../drbd-8.2.6.new/drbd/drbd_main.c 2008-09-17
22:16:16.000000000 +0200<br>
@@ -2564,7 +2564,7 @@<br>
<br>
if (minor_table) {<br>
if (drbd_proc)<br>
- remove_proc_entry("drbd", &proc_root);<br>
+ remove_proc_entry("drbd", NULL);<br>
i = minor_count;<br>
while (i--) {<br>
struct drbd_conf *mdev =
minor_to_mdev(i);<br>
@@ -2786,7 +2786,7 @@<br>
/*<br>
* register with procfs<br>
*/<br>
- drbd_proc = create_proc_entry("drbd", S_IFREG | S_IRUGO ,
&proc_root);<br>
+ drbd_proc = create_proc_entry("drbd", S_IFREG | S_IRUGO ,
NULL);<br>
<br>
if (!drbd_proc) {<br>
printk(KERN_ERR "drbd: unable to register proc file\n");<br>
<br>
##### END<br>
<br>
Best regards.<br>
<br>
Francis<br>
<br>
Norbert Tretkowski wrote:
<blockquote
cite="mid:pan.2008.10.24.08.00.11@moonlight.office.ip-exchange.de"
type="cite">
<pre wrap="">Am Fri, 24 Oct 2008 09:45:47 +0200 schrieb Adrian Chapela:
</pre>
<blockquote type="cite">
<pre wrap="">I have installed this kernel on my test machine and I am trying to
compile drbd 8.2.6 against this kernel and it fails with next output:
</pre>
</blockquote>
<pre wrap=""><!---->
8.2.6 doesn't work with Linux 2.6.26, try the latest git release, it
should work.
Norbert
_______________________________________________
drbd-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a>
<a class="moz-txt-link-freetext" href="http://lists.linbit.com/mailman/listinfo/drbd-user">http://lists.linbit.com/mailman/listinfo/drbd-user</a>
</pre>
</blockquote>
</body>
</html>