Re: [PATCH 03/18] block: Change blk_{pread,pwrite}() param order

2022-07-04 Thread Hanna Reitz
On 17.05.22 13:37, Alberto Faria wrote: Swap 'buf' and 'bytes' around for consistency with blk_co_{pread,pwrite}(), and in preparation to implement these functions using generated_co_wrapper. Callers were updated using this Coccinelle script: @@ expression blk, offset, buf, bytes, flags; @

Re: [PATCH 03/18] block: Change blk_{pread,pwrite}() param order

2022-05-18 Thread Eric Blake
On Tue, May 17, 2022 at 12:37:31PM +0100, Alberto Faria wrote: > Swap 'buf' and 'bytes' around for consistency with > blk_co_{pread,pwrite}(), and in preparation to implement these functions > using generated_co_wrapper. > > Callers were updated using this Coccinelle script: > > @@ expression

[PATCH 03/18] block: Change blk_{pread,pwrite}() param order

2022-05-17 Thread Alberto Faria
Swap 'buf' and 'bytes' around for consistency with blk_co_{pread,pwrite}(), and in preparation to implement these functions using generated_co_wrapper. Callers were updated using this Coccinelle script: @@ expression blk, offset, buf, bytes, flags; @@ - blk_pread(blk, offset, buf, bytes,