Re: [Yaffs] Yaffs2 Question

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
Subject: Re: [Yaffs] Yaffs2 Question
On Tuesday 29 March 2011 03:51:32 HuangAlex wrote:
> For the checkpoint, how do you manage those obsoleted "checkpoint". And
> when mount the flash, how do you know which is the newest version? Thank
> you.
>


The old checkpoint is invalidated (ie. deleted) as soon as any changes are
made. There is never more than one.

Look for void yaffs2_checkpt_invalidate(struct yaffs_dev *dev). See what it
does and when it is called.