[DRBD-user] Re: Compile 8.2.6 against kernel 2.6.26.6

Francis SOUYRI francis.souyri at apec.fr
Fri Oct 24 16:09:34 CEST 2008

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hello,

I used this patch.

##### BEGIN

--- drbd_main.c 2008-05-27 10:50:56.000000000 +0200
+++ ../../drbd-8.2.6.new/drbd/drbd_main.c       2008-09-17 
22:16:16.000000000 +0200
@@ -2564,7 +2564,7 @@

        if (minor_table) {
                if (drbd_proc)
-                       remove_proc_entry("drbd", &proc_root);
+                       remove_proc_entry("drbd", NULL);
                i = minor_count;
                while (i--) {
                        struct drbd_conf        *mdev  = minor_to_mdev(i);
@@ -2786,7 +2786,7 @@
        /*
         * register with procfs
         */
-       drbd_proc = create_proc_entry("drbd",  S_IFREG | S_IRUGO , 
&proc_root);
+       drbd_proc = create_proc_entry("drbd",  S_IFREG | S_IRUGO , NULL);

        if (!drbd_proc) {
                printk(KERN_ERR "drbd: unable to register proc file\n");

##### END

Best regards.

Francis

Norbert Tretkowski wrote:
> Am Fri, 24 Oct 2008 09:45:47 +0200 schrieb Adrian Chapela:
>   
>> 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:
>>     
>
> 8.2.6 doesn't work with Linux 2.6.26, try the latest git release, it
> should work.
>
>         Norbert
>
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20081024/b776dadb/attachment.htm>


More information about the drbd-user mailing list