[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: jffs_file_write always appends to file.
> This patch uses the ideas in your patch but takes care of one more
> bug as you can see.
- node->data_offset = f->size;
+ node->data_offset = pos;
Doh!. I actually realised as I was on my way home that I'd only changed one
instance of the offset, while I'd changed _both_ instances of the
> I also would like to remove the call to
> jffs_delete_data() that you added because that is supposed to be done
> from jffs_insert_node() later on.
> With this patch I got the correct result when I ran your test
Excellent - thanks.