Thanks for the bug report Ryuta, and thanks for the fix Sumit.

I just committed a variation on your patch to trunk that uses a configure test for drop_inode and put_inode rather than a version number check. That's mainly to protect against distribution maintainers that might backport this change to older versions.

-Phil

Ryuta Suzuki wrote:
Hi, Sumit.
I was able to build kernel module and it passed a couple of basic tests I performed. The patch seems to work! I'll do more tests and let the developer know if I got any problems.

Thank you,
ryuta

Sumit Narayan wrote:
Could you please try the attached patch on PVFS2.

You will also need to apply patch on linux kernel, which is available here: http://www.beowulf-underground.org/pipermail/pvfs2-users/2008-April/002382.html

Let me know how it goes.

-- Sumit

On Mon, Jul 21, 2008 at 5:43 PM, Ryuta Suzuki <[EMAIL PROTECTED]> wrote:
Has anyone try to build pvfs2 kernel module against linux kernel 2.6.26,
yet?
I got a the following error during make kmod.

CC [M] /home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/super.o /home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/super.c:862:
error: unknown field 'put_inode' specified in initializer
/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/super.c:862:
warning: initialization from incompatible pointer type
make[3]: ***
[/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/super.o] Error
1
make[2]: ***
[_module_/home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6] Error
2
make[1]: *** [default] Error 2
make: *** [just_kmod] Error 2

_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to