Fam Zheng
0b9fd3f467
block: Use BdrvChild to discard
...
Other I/O functions are already using a BdrvChild pointer in the API, so
make discard do the same. It makes it possible to initiate the same
permission checks before doing I/O, and much easier to share the
helper functions for this, which will be added and used by write,
truncate and copy range paths.
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2018-07-10 16:01:52 +02:00
..
2018-03-19 14:58:37 -05:00
2018-07-10 13:10:29 +02:00
2018-07-10 16:01:52 +02:00
2018-07-10 16:01:52 +02:00
2018-07-10 16:01:52 +02:00
2018-05-15 16:15:21 +02:00
2018-07-10 16:01:52 +02:00
2018-05-30 13:31:01 +02:00
2018-07-10 16:01:52 +02:00
2018-05-30 13:31:18 +02:00
2018-07-05 10:29:19 +02:00
2018-06-29 14:20:56 +02:00
2018-02-09 13:52:16 +01:00
2018-07-04 02:12:49 -04:00
2018-07-10 16:01:52 +02:00
2018-07-10 16:01:51 +02:00
2018-06-29 14:20:56 +02:00
2018-07-10 16:01:52 +02:00
2018-02-09 13:52:16 +01:00
2018-07-10 16:01:52 +02:00
2018-06-27 13:06:34 +01:00
2018-07-05 10:29:19 +02:00
2018-07-10 16:01:52 +02:00
2018-07-02 15:27:38 -05:00
2018-07-02 15:27:38 -05:00
2018-07-02 15:27:38 -05:00
2018-06-29 14:20:56 +02:00
2018-05-15 16:11:41 +02:00
2018-05-04 08:27:53 +02:00
2018-06-29 14:20:56 +02:00
2018-02-09 05:05:11 +01:00
2018-05-04 08:27:53 +02:00
2018-06-11 16:18:45 +02:00
2018-02-13 17:00:00 +01:00
2018-06-29 14:20:56 +02:00
2018-07-10 16:01:52 +02:00
2018-05-31 04:16:06 +03:00
2018-07-10 13:04:25 +02:00
2018-07-05 10:29:19 +02:00
2018-06-29 14:20:56 +02:00
2018-03-09 15:17:47 +01:00
2018-03-09 15:17:47 +01:00
2018-06-29 14:20:56 +02:00
2018-06-15 14:49:44 +02:00
2018-07-10 16:01:52 +02:00
2018-06-29 14:20:56 +02:00
2018-06-29 14:20:56 +02:00
2018-06-29 14:20:56 +02:00
2018-06-15 14:49:44 +02:00
2018-06-29 14:20:56 +02:00
2018-05-30 13:31:01 +02:00
2018-03-02 13:45:50 -06:00
2018-07-10 16:01:52 +02:00
2018-07-10 16:01:52 +02:00
2018-07-02 14:45:23 +02:00
2018-05-31 04:16:06 +03:00
2018-05-31 04:16:06 +03:00
2018-06-29 14:20:56 +02:00
2018-03-26 21:17:24 +02:00
2018-06-15 14:49:44 +02:00
2018-06-18 15:03:25 +02:00
2018-06-15 14:49:44 +02:00
2018-05-15 16:11:41 +02:00
2018-03-02 13:45:50 -06:00