[Yaffs] Kernel 2.6.14

Charles Manning manningc2 at actrix.gen.nz
Tue Nov 29 21:41:22 GMT 2005


Hi Michael

This has already been done in yaffs2

http://www.aleph1.co.uk/cgi-bin/viewcvs.cgi/yaffs2/yaffs_fs.c?r1=1.33&r2=1.34

We're trying hard to wean people over to using the yaffs2 code base.

-- Charles

On Wednesday 30 November 2005 00:05, Michael Trimarchi wrote:
> Hi all,
> I apply this patch to the yaffs filesystem to avoid excpetion in the
> yaffs_delete_inode.
>
> static void yaffs_delete_inode(struct inode *inode)
> {
>         yaffs_Object *obj = yaffs_InodeToObject(inode);
>         yaffs_Device *dev;
>
>         truncate_inode_pages(&inode->i_data, 0);
>         ....
>
>
> I must call the truncate of inode, like in the other filesytem before
> the clear_inode.
>
> It is correct?
>
> Regards
> Michael
>
>
>
> _______________________________________________
> yaffs mailing list
> yaffs at stoneboat.aleph1.co.uk
> http://stoneboat.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs



More information about the yaffs mailing list