On 2015/3/19 4:11, Kees Cook wrote:
> On Tue, Mar 17, 2015 at 6:41 PM, Wang Long wrote:
>> The value of cxt->record_size does not change in the loop,
>> so this patch optimize the assign statement by dropping
>> sz entirely and using cxt->record_size in its place.
>>
>> Signed-off-by: Wang Long
>
On Tue, Mar 17, 2015 at 6:41 PM, Wang Long wrote:
> The value of cxt->record_size does not change in the loop,
> so this patch optimize the assign statement by dropping
> sz entirely and using cxt->record_size in its place.
>
> Signed-off-by: Wang Long
Thanks!
Acked-by: Kees Cook
-Kees
> ---
The value of cxt->record_size does not change in the loop,
so this patch optimize the assign statement by dropping
sz entirely and using cxt->record_size in its place.
Signed-off-by: Wang Long
---
fs/pstore/ram.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/fs/psto
3 matches
Mail list logo