Linux LVM users
 help / color / mirror / Atom feed
From: svetljo <galia@st-peter.stw.uni-erlangen.de>
To: linux-lvm@sistina.com
Subject: Re: what i need is a little attention-RE [linux-lvm] SoftRaid and LVM   Jean-Eric Cuendet
Date: Wed, 05 Sep 2001 10:26:56 +0200	[thread overview]
Message-ID: <3B95E1D0.6000000@st-peter.stw.uni-erlangen.de> (raw)
In-Reply-To: B45465FD9C23D21193E90000F8D0F3DF404FF5@mailsrv.linkvest.com

thanks

i think it was 2.4.9 and Alan Cox still doesn't wont it, it's quite a 
long time 2.4.9 being out there
 
 
Jean-Eric Cuendet wrote:

>>and one more question about the min-max
>>i don't speak "C" can you tell me how to do it with pre
>>linux-2.4.9patches wich i wont to aply to linux-2.4.10pre2 
>>and they are giving me problems 
>>with min-max definition
>>
>
>The min/max functions are simple functions that return the min/max of
>two numbers.
>Ex: min(3,4) return 3
>Now, Linus has added a type to those functions in 2.4.8 (I think):
>Ex: min(int, 3, 4) = 3
>Or: min(float, -6.45, 4.5) = -6.45
>
>So, either you change the call from:
>min(a, b) to min(int,a,b)
>Or you add the provided replacement functions:
>#define min(a,b) (((a)<(b))?(a):(b)) 
>#define max(a,b) (((a)>(b))?(a):(b)) 
>At the *beginning* of the file (before anything else).
>
>Note that these are not real functions but just macros. That's why it's
>so simple (just add them and forget).
>
>Bye
>-jec
>
>
>_______________________________________________
>linux-lvm mailing list
>linux-lvm@sistina.com
>http://lists.sistina.com/mailman/listinfo/linux-lvm
>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>

  reply	other threads:[~2001-09-05  8:26 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-05  7:57 what i need is a little attention-RE [linux-lvm] SoftRaid and LVM Jean-Eric Cuendet Jean-Eric Cuendet
2001-09-05  8:26 ` svetljo [this message]
2001-09-05  8:33 ` svetljo
2001-09-05 18:05   ` Andreas Dilger
2001-09-05 18:18     ` [linux-lvm] PBs with LVM over software RAID ( and XFS ? ext2 reiserfs?) svetljo
2001-09-05 18:32       ` svetljo
2001-09-05 18:32       ` Andreas Dilger
2001-09-05 18:57         ` svetljo
2001-09-05 22:46           ` Andreas Dilger
2001-09-05 23:05             ` svetljo
2001-09-06 17:27               ` [linux-lvm] PBs with LVM over software RAID ( and XFS ? ext2 reiserfs?)-2.4.7 svetljo
2001-09-07 14:50                 ` Jonathan DeHaan
2001-09-06  6:44           ` [linux-lvm] PBs with LVM over software RAID ( and XFS ? ext2 reiserfs?) Luca Berra
  -- strict thread matches above, loose matches on Subject: below --
2001-09-05  5:44 what i need is a little attention-RE [linux-lvm] SoftRaid and LVM Jean-Eric Cuendet Jean-Eric Cuendet
2001-09-05  7:17 ` svetljo
2001-09-04 17:08 svetljo
     [not found] ` <20010904190937.A9131@colombina.comedia.it>
2001-09-04 17:43   ` svetljo
2001-09-04 19:40 ` Lewis Bergman

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=3B95E1D0.6000000@st-peter.stw.uni-erlangen.de \
    --to=galia@st-peter.stw.uni-erlangen.de \
    --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