[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible bug in file truncation code



On Fri, 2005-02-25 at 17:46 +0100, Andrew Lunn wrote:
>ie if the node does not have any fragments left its marked as
>obsolete. These appears to remove the node, but still leaves it
>referenced in the directory. Hence the filesystem is corrupt.

Directories don't refer to data nodes. They refer to inodes. This inode
still exists and is zero-length because it has no valid data nodes. The
directory still refers to it -- that's fine. What's the actual problem?

-- 
dwmw2


To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com