[Makedumpfile PATCH V2] elf_info: fix file_size if segment is excluded

Pratyush Anand panand at redhat.com
Tue May 9 21:43:19 PDT 2017



On Wednesday 10 May 2017 08:58 AM, Xunlei Pang wrote:
>> +				(*pt_loads)[i].file_size -= (temp_seg.file_size
>> +					+ end - start);
> Hi Pratyush,
>
> Don't we need to move the "(*pt_loads)[i].file_size" minus "(end - start)" down
> to the tail of "if (kvstart <  vend && kvend > vstart)" condition for all cases?

Yes..sent v3.

Thanks for review.

~Pratyush



More information about the kexec mailing list