[Yaffs] Kernel 2.6.14

Michael Trimarchi trimarchi at gandalf.sssup.it
Tue Nov 29 11:05:36 GMT 2005


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





More information about the yaffs mailing list