Skip to contentSkip to conversation

2.4.10 patch fails: min() -> min_t() etc.

linux-lvm Goetz Bock 1 participant 1 message Sep 27, 2001 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

Goetz Bock

author
#2 lore raw
Quoted 6 lines · Jens Benecke
Quoted 3 lines

the 2.4.10 patch fails, because min() has been made more strict in regard to data types, and the old function is now min_t(). (according to alan's changelog)

OK, sue me. I've looked into CVSweb and noticed there were changes regarding min/max already.

In linux 2.4.9 the min and max macros have been changed to require three
parameters: type, a, b. LVM 1.0.1-rc2 CVS has been fixed to support this.
Alan (and others) have never supported this change, had proposed a better version (that is compatible to 2.4.8 and before) this new version has been adpoted in 2.4.10.
This has not yet been fixed in LVM. You have to grep through your patch and fix the min/max macros. The exact locations have been posted on this list.

Signature · 2 lines
Goetz Bock                                              IT Consultant
Dipl.-Inf. Univ.