[PATCH]erase block header(revision 4)

Jörn Engel joern at wohnheim.fh-wedel.de
Mon Oct 3 10:49:36 EDT 2005


On Mon, 3 October 2005 18:43:04 +0400, Artem B. Bityutskiy wrote:
> Jörn Engel wrote:
> >Bad suggestion then.  Try to draw a complete graph of all possible
> >users to this static structure, the locking required to make it
> >correct, then prove its correctness.
> Oh, It is not constant anymore (we have the "erasecount" filed there). 
> Right. It must not be static. Zhao, I apologize for incorrect suggestion.
> 
> >
> >If that didn't already scare you to death, try to anticipate future
> >code changes to such brittle code.
> Yes, yuo could have just proved its incorrectnes in 2-3 words instead.

It's always hard to anticipate why people are barking up the wrong
tree.  Instead of figuring it out, the quick solution is to take a
chainsaw and cut the tree down.  Not pretty, but it works.

Jörn

-- 
Prosperity makes friends, adversity tries them.
-- Publilius Syrus 




More information about the linux-mtd mailing list