Problem with files removing

David Woodhouse dwmw2 at infradead.org
Wed Feb 6 00:49:00 EST 2002


On Tue, 5 Feb 2002, Kolakowski, Mikolaj wrote:

> After short investigation I have noticed that jffs2_unlink function is
> called and jffs2_clear_inode is not.
> I think that this is problem with kernel version that I use 2.3.99. 

Yes. Looking at the changes in other filesystems between then and 
now, I see that d_delete() was removed. 

> I have put there d_delete but it cause GPF in clear_inode:
> if(inode->i_data.nrpages) 
> 	BUG();

On that one I have no clue. Either upgrade from 2.3.99 or look more 
closely at what other filesystems used to do in 2.3.99 to avoid this. 

-- 
dwmw2





More information about the linux-mtd mailing list