All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Bug in the min and max macros in lvm-snap.c
@ 2001-08-28 13:57 Hostmaster (www)
  2001-08-28 17:19 ` José Luis Domingo López
  0 siblings, 1 reply; 3+ messages in thread
From: Hostmaster (www) @ 2001-08-28 13:57 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 741 bytes --]

Hi,

I'm installing the lvm_1.0.1-rc1 patch to a RedHat install (kernel 2.4.3-12).

After installing the kernel patch, the kernel build was failing on the min and max macros in lvm-snap.c.
It appears the new version changed the min and max macros in the lvm-internal.h header file to include type. However, it appears that the lvm-snap.c min and max are still using the old definition.

Since I'm not intending to use the snap functionality in the near future. I used this for quick workaround, I just added a snapmin and and snapmax macro definition in lvm-internal.h and changed the instances of min and max in the lvm-snap.c to use the new snapmin and snapmax macros. This allows the kernel to build.

Thanks,
David Lightsey


[-- Attachment #2: Type: text/html, Size: 1571 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-08-28 17:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-28 13:57 [linux-lvm] Bug in the min and max macros in lvm-snap.c Hostmaster (www)
2001-08-28 17:19 ` José Luis Domingo López
2001-08-28 16:38   ` Joe Thornber

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.