Milan Broz
024d37e95e
dm: fix opening log and cow devices for read only tables
...
If a table is read-only, also open any log and cow devices it uses read-only.
Previously, even read-only devices were opened read-write internally.
After patch 75f1dc0d07
block: check bdev_read_only() from blkdev_get()
was applied, loading such tables began to fail. The patch
was reverted by e51900f7d3
block: revert block_dev read-only check
but this patch fixes this part of the code to work with the original patch.
Signed-off-by: Milan Broz <mbroz@redhat.com >
Signed-off-by: Alasdair G Kergon <agk@redhat.com >
2011-03-24 13:52:14 +00:00
..
2011-03-22 17:44:00 -07:00
2011-03-18 06:31:43 -07:00
2011-03-18 10:37:40 -07:00
2011-03-16 15:05:40 -07:00
2011-03-22 16:25:25 -07:00
2011-03-18 10:37:40 -07:00
2011-03-20 18:14:55 -07:00
2011-03-16 17:54:33 -04:00
2011-03-16 17:28:10 -07:00
2011-03-22 17:44:12 -07:00
2011-03-22 17:53:13 -07:00
2011-03-18 10:37:40 -07:00
2011-03-21 10:05:22 -07:00
2011-03-22 17:44:15 -07:00
2011-03-18 10:56:02 -07:00
2011-03-22 17:43:59 -07:00
2011-03-22 17:43:59 -07:00
2011-03-21 17:59:37 +01:00
2011-03-22 10:05:27 -07:00
2011-03-17 14:05:34 +01:00
2011-03-17 14:05:34 +01:00
2011-03-17 18:40:35 -07:00
2011-03-19 22:27:06 -07:00
2011-03-20 18:14:55 -07:00
2011-03-22 17:43:59 -07:00
2011-03-22 17:43:59 -07:00
2011-03-24 13:52:14 +00:00
2011-03-19 22:27:06 -07:00
2011-03-17 14:05:34 +01:00
2011-03-20 18:14:55 -07:00
2011-03-17 19:08:06 -07:00
2011-03-22 17:44:11 -07:00
2011-03-22 17:44:15 -07:00
2011-03-18 10:50:27 -07:00
2011-03-22 17:44:17 -07:00
2011-03-16 17:28:10 -07:00
2011-03-18 10:56:44 -07:00
2011-03-16 17:28:10 -07:00
2011-03-22 17:43:59 -07:00
2011-03-22 17:44:16 -07:00
2011-03-22 17:44:17 -07:00
2011-03-17 14:05:35 +01:00
2011-03-22 17:44:16 -07:00
2011-03-17 17:54:40 -07:00
2011-03-22 09:35:53 -07:00
2011-03-18 10:56:02 -07:00
2011-03-22 17:43:59 -07:00
2011-03-18 10:37:40 -07:00
2011-03-22 16:17:32 -07:00
2011-03-07 13:10:27 -08:00
2011-03-22 17:43:59 -07:00
2011-03-13 23:08:19 +02:00
2011-03-22 17:44:14 -07:00
2011-03-18 10:37:40 -07:00
2011-03-17 18:37:42 -07:00