Re: Possible bug in file truncation code

David Woodhouse <[email protected]> Fri, 25 Feb 2005 17:21:41 +0000
Newsgroups gmane.linux.file-systems.jffs
Message-ID <[email protected]>
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 [email protected]