From: Joe Thornber <thornber@btconnect.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] min() and max() problems with 2.4.8 and 1.0.1
Date: Thu, 23 Aug 2001 17:20:42 +0100 [thread overview]
Message-ID: <20010823172041.A1701@btconnect.com> (raw)
In-Reply-To: <20010823172746.A2020@totoro.ovh.net>; from totoro@ovh.net on Thu, Aug 23, 2001 at 05:27:46PM +0200
On Thu, Aug 23, 2001 at 05:27:46PM +0200, Totoro wrote:
> On Thu, Aug 23, 2001 at 11:36:37AM +0200, Jean-Eric Cuendet wrote:
> >
> > Hi,
> > I just patched my kernel with 1.0.1rc1 and have problems with min() and
> > max() functions. They are not found in lvm.c and lvm-snap.c .
> >
> > FYI, I have also ext3, acls and quota3 patches applied. Could they make
> > that?
> No, the 1.0.1rc1 is against 2.4.9 and uses the new min() and max()
> created by Linus.
> I don't know if 1.0.1rc1 was maid to be compatible with 2.4.8.
> 1.0.0 works fine on 2.4.8.
I put this code in to support older kernels:
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 9)
#undef min
#undef max
#define min(type, a, b) (((a) < (b)) ? (a) : (b))
#define max(type, a, b) (((a) > (b)) ? (a) : (b))
#endif
I tested 2.4.8 and Alasdair tested 2.4.7.
- Joe
prev parent reply other threads:[~2001-08-23 16:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-23 9:36 [linux-lvm] min() and max() problems with 2.4.8 and 1.0.1 Jean-Eric Cuendet
2001-08-23 15:27 ` Totoro
2001-08-23 16:20 ` Joe Thornber [this message]
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=20010823172041.A1701@btconnect.com \
--to=thornber@btconnect.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 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.