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-05-19 16:19:02 +01:00
2022-07-07 11:36:07 +01:00
2022-06-11 11:44:50 +02:00
2022-07-12 12:14:56 +02:00
2022-06-09 19:32:48 -04:00
2022-06-15 14:50:41 +01:00
2022-06-16 12:54:57 -04:00
2022-06-30 09:21:14 +02:00
2022-05-19 16:19:03 +01:00
2022-05-25 10:31:33 +02:00
2022-06-26 18:40:12 +01:00
2022-05-30 19:49:42 +02:00
2022-06-30 09:21:14 +02:00
2022-06-29 00:24:59 +02:00
2022-06-28 12:03:25 +02:00
2022-06-26 18:40:12 +01:00
2022-07-06 10:22:38 -03:00
2022-06-09 19:32:49 -04:00
2022-06-29 00:24:59 +02:00
2022-07-05 16:25:17 +05:30
2022-07-06 12:30:41 +02:00
2022-05-13 07:57:26 -04:00
2022-06-26 18:40:12 +01:00
2022-07-12 12:14:56 +02:00
2022-07-06 11:39:09 +08:00
2022-04-26 08:17:05 -07:00
2022-06-28 11:06:44 +02:00
2022-07-12 12:14:56 +02:00
2022-05-15 10:33:01 +09:00
2022-06-30 04:49:40 +05:30
2022-06-16 12:54:57 -04:00
2022-07-06 10:22:38 -03:00
2022-07-12 12:14:56 +02:00
2022-04-26 12:25:14 +02:00
2022-06-15 16:43:42 +01:00
2022-07-03 10:03:20 +10:00
2022-07-05 16:17:53 +05:30
2022-06-14 16:50:30 +02:00
2022-06-28 11:06:02 +02:00
2022-05-30 12:34:46 +01:00
2022-06-30 09:21:14 +02:00
2022-05-12 12:29:44 +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-06-09 19:32:49 -04:00
2022-07-01 12:39:51 +02:00
2022-06-14 10:34:37 +02:00
2022-06-27 18:53:18 -04:00
2022-07-06 10:22:38 -03:00
2022-07-05 14:19:48 +01:00
2022-05-09 08:21:14 +02:00
2022-05-06 15:27:40 -07:00
2022-06-06 18:09:03 +00:00
2022-06-06 18:09:03 +00:00