Linux LVM users
 help / color / mirror / Atom feed
From: "Hostmaster \(www\)" <hostmaster@webworldworkshop.com>
To: linux-lvm@sistina.com
Subject: [linux-lvm] Bug in the min and max macros in lvm-snap.c
Date: Tue, 28 Aug 2001 07:57:20 -0600	[thread overview]
Message-ID: <00aa01c12fc9$5f3cda00$3300a8c0@local> (raw)

[-- 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 --]

             reply	other threads:[~2001-08-28 13:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-28 13:57 Hostmaster (www) [this message]
2001-08-28 17:19 ` [linux-lvm] Bug in the min and max macros in lvm-snap.c José Luis Domingo López
2001-08-28 16:38   ` Joe Thornber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='00aa01c12fc9$5f3cda00$3300a8c0@local' \
    --to=hostmaster@webworldworkshop.com \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox