[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] Re: [BUG] lvm beta7 and ac11 problems



On Mon, 23 Apr 2001, Martin Dalecki wrote:

> > > depmod: *** Unresolved symbols in /lib/modules/2.4.3-ac11/kernel/drivers/md/lvm-mod.o


try this (after you have applied the patch for lvm 0.9.1_beta7) ...

Jeff
[jchua fedex com]

--- /u2/src/linux/drivers/md/lvm.c.org  Mon Apr 23 21:11:32 2001
+++ /u2/src/linux/drivers/md/lvm.c      Mon Apr 23 21:12:27 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;




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]