[OpenAFS] compile error with 1.5.74 on kernel 2.6.28.10

Simon Wilkinson sxw@inf.ed.ac.uk
Sat, 12 Jun 2010 23:07:35 +0100


On 12 Jun 2010, at 21:46, Adam Megacz wrote:

> This is using openafs_1.5.74.1-1.dsc (Debian).  I can probably kludge =
my
> way around it, but I figured in the run-up to 1.6 y'all would like to
> know about it.

I've pushed a fix for this to gerrit - http://gerrit.openafs.org/2127

What's slightly confusing is how you came to be building this code. We =
can only use the NFS translator with kernels that provide d_alloc_anon =
[1], and according to the kernel tree I have here it was removed in =
2.6.28. Could you check for me whether there is a definition for =
d_alloc_anon in the dcache.h file that's in your kernel tree?

Cheers,

Simon.

[1] - Actually, later kernels added in a usable replacement for =
d_alloc_anon. However, these kernels remove the svc_auth functions that =
the NFS translator uses to provide authenticated access, so we're still =
left without a usable Linux NFS translator on all unpatched Linux =
kernels after 2.6.28.=