[OpenAFS] Compiling OpenAFS 1.5.12 on Linux 2.4.33.3

Jakub Witkowski jpw@wszib.edu.pl
Wed, 06 Dec 2006 19:14:10 +0100


Hello,

I just finished compiling OpenAFS on a system running vanilla 2.4.33.3
kernel, and hit a small problem:

posix_lock_file(), used in file src/afs/LINUX/osi_vnodeops.c line 499,
takes three arguments. The third argument determines whether the
function should block, and is a simple integer, which, given the use of
this function, should be set to 1.

This probably should be #ifdef'd, as a quick glance to 2.6 series code
shows that this parameter is not needed there.