xfs
[Top] [All Lists]

Re: 2.4.5 compiles, almost:(

To: Gergely Tamas <dice@xxxxxxxxxxx>
Subject: Re: 2.4.5 compiles, almost:(
From: Austin Gonyou <austin@xxxxxxxxxxxxxxx>
Date: Thu, 31 May 2001 11:02:22 -0500 (CDT)
Cc: <linux-xfs@xxxxxxxxxxx>
In-reply-to: <Pine.LNX.4.32.0105311624310.5851-100000@falka.mfa.kfki.hu>
Sender: owner-linux-xfs@xxxxxxxxxxx
THanks for the patch!

-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-796-9023
email: austin@xxxxxxxxxxxxxxx

On Thu, 31 May 2001, Gergely Tamas wrote:

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