[OpenAFS-devel] linux-and-locks-cleanup-20070202 crashes linux kernels older than 2.6.17 (see RT #53457)

Derrick J Brashear shadow@dementia.org
Thu, 8 Feb 2007 15:00:04 -0500 (EST)


On Thu, 8 Feb 2007, Marcus Watts wrote:

> Christopher Allen Wing <wingc@engin.umich.edu> writes:
> ...
>> There does not seem to be a good way to find out (e.g., autoconf test) if
>> a particular linux kernel has the 'old' or 'new' semantics of
>> flock_lock_file*(). The argument types of the functions have not changed.
> ...
>
> This sounds like it's a feature that is almost exactly
> tied to linux kernel version.  Testing the Linux kernel

Except for people like RedHat, Fedora, SuSe, who cherrypick patches.

> should suffice to determine if the new locking semantics
> are true.

Nope.