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

Re: Killing JFFS under 2.2



Hi,

I changed back yesterday's patch since it clearly caused problems (as
reported by Simon Munton).  Now it sets the free space as dirty every
time that free space end isn't sector-aligned.  This fixes the problem
with David's image and shouldn't cause any for a standard filesystem.  I
just change the line 
	if (fmc->head && pos < end) {

with
	if ((__u32) pos % fmc->sector_size) {

I tested many filesystem images and everything worked fine but David
seems to be the champion for breaking things, so I'll let him have a try
:)


-- 
Sébastien Côté