Re: [PATCH v6 01/10] scatterlist: add sg_zeroout_area() helper

From: Johannes Thumshirn
Date: Thu Jun 08 2017 - 03:46:11 EST


On 06/08/2017 09:41 AM, Christoph Hellwig wrote:
>> size_t sg_pcopy_to_buffer(struct scatterlist *sgl, unsigned int nents,
>> void *buf, size_t buflen, off_t skip);
>>
>> +size_t sg_zeroout_area(struct scatterlist *sgl, unsigned int nents,
>> + size_t buflen, off_t skip);
>
> Maybe sg_zero_buffer to fit with the other functions in the family?
>
> (I'd be happy to fix this up if you're ok and we don't need another
> respin otherwise).

Sounds good.

--
Johannes Thumshirn Storage
jthumshirn@xxxxxxx +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 NÃrnberg
GF: Felix ImendÃrffer, Jane Smithard, Graham Norton
HRB 21284 (AG NÃrnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850