xfs
[Top] [All Lists]

Re: 2.4.5 compiles, almost:(

To: Austin Gonyou <austin@xxxxxxxxxxxxxxx>
Subject: Re: 2.4.5 compiles, almost:(
From: Gergely Tamas <dice@xxxxxxxxxxx>
Date: Thu, 31 May 2001 16:25:32 +0200 (CEST)
Cc: <linux-xfs@xxxxxxxxxxx>
In-reply-to: <Pine.LNX.4.33.0105301519030.17597-100000@UberGeek.coremetrics.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
Hi!

 > drivers/md/mddev.o: In function `__update_hardblocksize':
 > drivers/md/mddev.o(.text+0xaba1): undefined reference to
 > `get_hardblocksize'
 > drivers/md/mddev.o(.text+0xabed): undefined reference to
 > `get_hardblocksize'

Try the following patch. get_hardblocksize changed to get_hardsect_size a
while ago...

Gergely

--- linux-2.4.4/drivers/md/lvm.c.orig   Sun May  6 14:54:39 2001
+++ linux-2.4.4/drivers/md/lvm.c        Sun May  6 14:55:06 2001
@@ -1791,7 +1791,7 @@
        int max_hardblocksize = 0, hardblocksize;

        for (le = 0; le < lv->lv_allocated_le; le++) {
-               hardblocksize = get_hardblocksize(lv->lv_current_pe[le].dev);
+               hardblocksize = get_hardsect_size(lv->lv_current_pe[le].dev);
                if (hardblocksize == 0)
                        hardblocksize = 512;
                if (hardblocksize > max_hardblocksize)
@@ -1801,7 +1801,7 @@
        if (lv->lv_access & LV_SNAPSHOT) {
                for (e = 0; e < lv->lv_remap_end; e++) {
                        hardblocksize =
-                               get_hardblocksize(
+                               get_hardsect_size(
                                        lv->lv_block_exception[e].rdev_new);
                        if (hardblocksize == 0)
                                hardblocksize = 512;


<Prev in Thread] Current Thread [Next in Thread>