[PATCH]erase block header(revision 2)

Artem B. Bityutskiy dedekind at yandex.ru
Tue Sep 27 04:38:39 EDT 2005


zhao forrest wrote:
>>          marker_ref->next_in_ino = NULL;
>>          marker_ref->next_phys = NULL;
>>          marker_ref->flash_offset = jeb->offset | REF_NORMAL;
>> -        marker_ref->__totlen = c->cleanmarker_size;
>> +        marker_ref->__totlen = PAD(c->ebh_size);
>> ---------------------------------------------------
>> Why do you use PAD() here? What for?
>>
> I'll not eliminate this PAD(), you may grep "__totlen" to find the
> reason.
I did not ask to remove that so far, I asked why do you use it here?
Is it explainable in words?

-- 
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.




More information about the linux-mtd mailing list