Alberto Faria bf5b16fa40 block: Make blk_{pread,pwrite}() return 0 on success
They currently return the value of their 'bytes' parameter on success.

Make them return 0 instead, for consistency with other I/O functions and
in preparation to implement them using generated_co_wrapper. This also
makes it clear that short reads/writes are not possible.

Signed-off-by: Alberto Faria <afaria@redhat.com>
Message-Id: <20220705161527.1054072-2-afaria@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
2022-07-12 12:14:56 +02:00
..
2022-06-28 11:06:44 +02:00
2022-06-28 11:06:44 +02:00
2022-06-15 14:50:41 +01:00
2022-06-30 09:21:14 +02:00
2022-06-28 11:06:44 +02:00
2022-06-30 04:49:40 +05:30
2022-04-26 12:25:14 +02:00
2022-06-14 16:50:30 +02:00
2022-06-28 11:06:02 +02:00
2022-06-30 09:21:14 +02:00
2022-06-11 11:44:50 +02:00
2022-06-30 09:21:13 +02:00
2022-06-08 19:38:47 +01:00
2022-07-06 10:22:38 -03:00