[linux-lvm] kernel 2.2.19 support

Patrick Caulfield caulfield at sistina.com
Thu Oct 11 15:19:33 UTC 2001


On Thu, Oct 04, 2001 at 11:49:03AM -0600, Andreas Dilger wrote:
> On Oct 04, 2001  19:18 +0200, Adrian Phillips wrote:
> > Yes, but what concerned me was if there was some equivalent for 2.2
> > (foo.dev22 = bar). I was going to check the LVM CVS to see what
> > changes had been done but was unable to login :-
> 
> It was just added recently (probably a devfs thing).  Before that, it
> just ran the "lvm_fs_setup()" (or whatever) function, and didn't do
> anything with the output.  Hmm, that means my suggestion may be broken.
> 
> Need something like:
> 
> #if LINUX_KERNEL_VERSION > KERNEL_VERSION (2, 3, 38)
> 	foo.de =
> #endif
> 		lvm_fs_setup();
> 

You'll need a bit more than that... :-)

I've fixed it in CVS now anyway - it works on 2.2 again.

patrick





More information about the linux-lvm mailing list