Fam Zheng
c1cef67251
block: Always call bdrv_child_check_perm first
...
bdrv_child_set_perm alone is not very usable because the caller must
call bdrv_child_check_perm first. This is already encapsulated
conveniently in bdrv_child_try_set_perm, so remove the other prototypes
from the header and fix the one wrong caller, block/mirror.c.
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2017-03-17 12:54:06 +01:00
..
2017-03-13 12:49:33 +01:00
2017-02-28 20:40:36 +01:00
2017-02-28 20:40:36 +01:00
2017-02-28 20:40:36 +01:00
2017-03-07 14:53:29 +01:00
2017-02-28 20:40:36 +01:00
2017-02-28 20:40:36 +01:00
2017-03-13 12:49:33 +01:00
2017-02-28 20:40:36 +01:00
2017-02-27 13:33:24 +00:00
2017-02-28 20:40:36 +01:00
2017-03-17 12:54:06 +01:00
2017-03-07 14:53:29 +01:00
2017-03-13 12:49:33 +01:00
2017-01-27 18:07:58 +01:00
2017-03-03 16:41:20 +01:00
2017-02-21 11:39:39 +00:00
2017-03-13 12:49:33 +01:00
2017-03-17 12:54:06 +01:00
2017-02-21 11:39:40 +00:00
2017-02-21 11:14:08 +00:00
2017-03-05 09:14:19 +01:00
2017-03-05 09:14:19 +01:00
2017-02-21 11:39:39 +00:00
2017-02-28 20:40:36 +01:00
2017-02-22 19:52:20 +01:00
2017-02-21 11:39:40 +00:00
2017-02-24 16:09:23 +01:00
2017-02-28 20:40:36 +01:00
2017-02-12 00:47:43 +01:00
2017-02-28 20:40:36 +01:00
2017-02-21 11:39:39 +00:00
2017-02-21 11:39:39 +00:00
2017-02-28 20:40:36 +01:00
2017-02-21 11:14:08 +00:00
2017-02-28 20:40:36 +01:00
2017-02-28 20:40:36 +01:00
2017-03-01 22:39:25 -05:00
2017-03-17 12:54:06 +01:00
2017-03-07 14:53:28 +01:00
2017-03-05 09:14:19 +01:00
2017-02-28 20:47:51 +01:00
2017-02-21 11:39:40 +00:00
2017-01-31 17:12:15 +00:00
2017-02-28 20:40:36 +01:00
2017-02-24 16:09:23 +01:00
2017-02-28 20:40:36 +01:00
2017-02-28 20:40:36 +01:00
2017-02-28 20:40:36 +01:00
2017-03-13 12:49:33 +01:00
2017-02-21 11:39:39 +00:00