Max Reitz
69dca43d6b
block: Use bdrv_default_perms()
...
bdrv_default_perms() can decide which permission profile to use based on
the BdrvChildRole, so block drivers do not need to select it explicitly.
The blkverify driver now no longer shares the WRITE permission for the
image to verify. We thus have to adjust two places in
test-block-iothread not to take it. (Note that in theory, blkverify
should behave like quorum in this regard and share neither WRITE nor
RESIZE for both of its children. In practice, it does not really
matter, because blkverify is used only for debugging, so we might as
well keep its permissions rather liberal.)
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200513110544.176672-30-mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2020-05-18 19:05:25 +02:00
..
2020-04-30 11:52:28 +01:00
2020-05-04 10:25:03 -04:00
2019-08-19 08:03:41 -07:00
2020-04-15 11:38:23 +01:00
2020-01-09 11:41:29 +00:00
2020-05-15 15:25:07 +01:00
2019-11-05 16:36:11 +01:00
2020-02-07 15:15:16 +01:00
2019-07-30 12:25:43 +02:00
2019-06-04 15:20:41 +02:00
2020-02-25 20:20:23 +00:00
2020-03-17 21:42:47 +01:00
2020-05-18 19:05:25 +02:00
2020-05-04 20:35:59 +01:00
2020-05-15 11:04:50 -07:00
2019-10-07 15:14:15 +02:00
2020-03-27 13:43:20 +00:00
2020-03-17 17:38:47 +00:00
2019-01-14 14:52:30 +00:00
2019-01-14 14:52:30 +00:00
2019-10-28 13:32:21 +01:00
2020-05-07 12:52:51 +01:00
2020-02-12 16:29:27 +01:00
2019-03-07 22:05:54 +01:00
2019-08-21 10:27:13 +02:00
2020-04-30 06:51:15 +02:00
2020-05-15 07:08:14 +02:00
2019-06-12 13:20:21 +02:00
2019-06-12 13:20:21 +02:00
2020-01-06 18:41:32 +04:00
2019-06-12 13:20:20 +02:00
2020-01-07 14:32:57 +00:00
2020-04-30 15:35:40 +01:00
2019-08-20 17:26:21 +02:00
2020-01-12 11:42:40 +01:00
2019-01-14 14:52:30 +00:00
2020-02-25 17:42:59 +00:00
2020-03-17 18:55:52 -04:00
2019-08-22 17:30:25 +04:00
2019-08-22 17:30:25 +04:00
2019-03-07 22:16:22 +01:00
2020-02-22 08:26:47 +00:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2020-05-18 19:05:25 +02:00
2020-05-18 19:05:25 +02:00
2019-12-17 09:05:23 +01:00
2019-08-16 13:31:52 +02:00
2020-05-18 19:05:25 +02:00
2019-09-10 08:58:43 +02:00
2020-04-07 14:34:47 +02:00
2020-01-08 11:15:35 +01:00
2019-03-05 14:43:11 +01:00
2019-03-07 22:16:22 +01:00
2019-06-12 13:18:33 +02:00
2019-01-11 13:57:25 +01:00
2019-12-17 09:05:23 +01:00
2019-12-17 09:05:23 +01:00
2020-03-18 14:03:46 -04:00
2019-08-16 13:31:52 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-09-03 23:24:42 +02:00
2019-12-17 09:05:23 +01:00
2019-06-12 13:18:33 +02:00
2019-12-18 12:28:44 +01:00
2020-04-29 08:01:52 +02:00
2020-05-15 07:07:58 +02:00
2020-04-29 08:01:51 +02:00
2019-12-17 09:05:23 +01:00
2019-03-11 16:33:49 +01:00
2020-03-17 19:58:34 +01:00
2020-03-17 19:58:34 +01:00
2019-03-05 14:43:11 +01:00
2020-04-30 07:26:09 +02:00
2020-03-06 10:35:15 +00:00
2020-02-22 08:26:47 +00:00
2020-03-03 18:04:47 +08:00
2019-08-20 17:26:19 +02:00
2020-04-30 07:26:09 +02:00
2019-06-03 14:03:00 +02:00
2019-08-20 17:26:19 +02:00
2019-12-18 20:17:45 +00:00
2020-03-06 17:21:28 +01:00
2020-02-28 09:25:49 +01:00
2020-03-17 19:48:10 -04:00
2019-10-26 15:38:06 +02:00