lvm.c-2.3.39 modif. for kernel 2.3.40 (fwd)
-------- Original Message --------
Sender: [email protected]
Date: Sun, 23 Jan 2000 14:00:54 +0100
From: Francis SOUYRI <[email protected]>
Reply-To: [email protected]
Subject: lvm.c-2.3.39 modif. for kernel 2.3.40.
Hi,
I recently installed the lvm patch for the 2.3.39 kernel (lvm.c-2.3.39 file) on a 2.3.40 kernel, the system hangs with a null pointer because the "struct gendisk' changed.
To bypass the problem I comment in the file driver/block/lvm.c the lines
(line 312...):
// MAX_LV, /* maximum number of real devices */ // lvm_geninit, /* initialization called before we
// do other things */
in the initialisation of the 'static struct gendisk lvm_gendisk'.
Best regards.
Francis