dm thin metadata: introduce dm_pool_metadata_set_read_only
authorJoe Thornber <ejt@redhat.com>
Fri, 27 Jul 2012 14:08:15 +0000 (15:08 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 27 Jul 2012 14:08:15 +0000 (15:08 +0100)
commit12ba58af46e5973822f1cfaaf5f29a2a17a523bf
tree4641ca8730db9c61a34052cf267765305323b896
parent310975573ba40ab526b0d76d28225d8d0999d72b
dm thin metadata: introduce dm_pool_metadata_set_read_only

Introduce dm_pool_metadata_set_read_only to put the underlying block
manager into read-only mode.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-thin-metadata.c
drivers/md/dm-thin-metadata.h