[OpenAFS-devel] openafs on Linux 2.6.16 rc?

Stefaan stefaan.deroeck@gmail.com
Sun, 12 Feb 2006 00:48:14 +0100


I had the same error (at least the 'i_sem') on my linux 2.6.16-rc1.
Some surfing on the net got me this regarding 2.6.16:
- down(&inode->i_sem);
+ mutex_lock(&inode->i_mutex);

- up(&inode->i_sem);
+ mutex_unlock(&inode->i_mutex);

I did exactly those changes to osi_file.c, and it worked like a charm.
This of course isn't a general solution, but I'm not up to speed with
kernel development well enough to conceive such a thing :)

Stefaan