On Wednesday 06 September 2006 11:15, Gregory CLEMENT wrote:
> With yaffs1 on kernel 2.4.18 we managed to export a yaffs1
> filesystem by nfs. Now I saw on a 2.6.16 kernel with yaffs2 we
> can't.
>
> I found that a changed was made in nfs, and now they test if
> s_export_op is not a void pointer.
>
> Adding a pointer on this structure makes the yaffs2 filesystem
> exportable by nfs.
>
> I joined my little patch for review, if the solution is ok, we
> could add this patch on yaffs2.
If this patch is applied, please ifdef appropriately, using
KERNEL_VERSION(2,6,XX), so yaffs_fs.c continues to build for
earlier kernels. Perhaps tweak the comment about 'void
structure', change this to 'zero structure' or something like
that.
-imcd