You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/nbd
Alberto Faria a9262f551e block: Change blk_{pread,pwrite}() param order
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, flags)
    + blk_pread(blk, offset, bytes, buf, flags)

    @@ expression blk, offset, buf, bytes, flags; @@
    - blk_pwrite(blk, offset, buf, bytes, flags)
    + blk_pwrite(blk, offset, bytes, buf, flags)

It had no effect on hw/block/nand.c, presumably due to the #if, so that
file was updated manually.

Overly-long lines were then fixed by hand.

Signed-off-by: Alberto Faria <afaria@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220705161527.1054072-4-afaria@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
2 years ago
..
client-connection.c nbd: trace long NBD operations 2 years ago
client.c block/nbd: drop connection_co 3 years ago
common.c nbd: Prepare for NBD_CMD_FLAG_FAST_ZERO 5 years ago
meson.build nbd: move connection code from block/nbd to nbd/client-connection 3 years ago
nbd-internal.h configure: Add a proper check for sys/ioccom.h and use it in tpm_ioctl.h 4 years ago
server.c block: Change blk_{pread,pwrite}() param order 2 years ago
trace-events nbd: trace long NBD operations 2 years ago
trace.h trace: switch position of headers to what Meson requires 4 years ago