[PATCH] jffs2, symlink, and 2.6.13

Peter Grayson pgrayson at realmsys.com
Fri Sep 30 20:17:26 EDT 2005


The function prototype for follow_link() in struct inode_operations
changed in linux 2.6.13. Instead of returning int, it now expects
returning void*.

I have attached a patch that fixes up the jffs2 code to accommodate the
new prototype. No functional changes were made to the jffs2 code.

For those on earlier kernel versions, this change will yield compiler
warnings. I am not sure what the policy is for maintaining compatibility
with older kernel versions, so I did not include any changes to
compatmac.h. Do we want to reproduce the struct inode_operations
declaration in compatmac.h just so that latest mtd does not yield
compiler warnings on older kernels?

Pete

-------------- next part --------------
A non-text attachment was scrubbed...
Name: jffs2-symlink.patch
Type: text/x-patch
Size: 1764 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20050930/06de824e/attachment.bin 


More information about the linux-mtd mailing list