Lots of outdated LVM stuff in the kernel...

From: Thunder from the hill (thunder@ngforever.de)
Date: Fri Jul 12 2002 - 21:26:49 EST


Hi,

In arch/sparc64/kernel/ioctl32.c (and some other 64-bit architectures), we
find lots of old and broken LVM code, for example:

static void put_lv_t(lv_t *l)
{
        if (l->lv_current_pe) vfree(l->lv_current_pe);
        if (l->lv_block_exception) vfree(l->lv_block_exception);
        kfree(l);
}

lv_t doesn't have lv_current_pe and lv_block_exception any more for ages.
The code should either be updated or removed completely.

Wondering why I'm hitting this all? I'm currently doing make allmodconfig
(kbuild-2.5) on a sparc64...

                                                        Regards,
                                                        Thunder

-- 
(Use http://www.ebb.org/ungeek if you can't decode)
------BEGIN GEEK CODE BLOCK------
Version: 3.12
GCS/E/G/S/AT d- s++:-- a? C++$ ULAVHI++++$ P++$ L++++(+++++)$ E W-$
N--- o?  K? w-- O- M V$ PS+ PE- Y- PGP+ t+ 5+ X+ R- !tv b++ DI? !D G
e++++ h* r--- y- 
------END GEEK CODE BLOCK------

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 15 2002 - 22:00:25 EST