dm table: add immutable feature
authorAlasdair G Kergon <agk@redhat.com>
Mon, 31 Oct 2011 20:19:04 +0000 (20:19 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Mon, 31 Oct 2011 20:19:04 +0000 (20:19 +0000)
commit36a0456fbf2d9680bf9af81b39daf4a8e22cb1b8
treea19af18640d538e8357c195e6b4c77d0f6c92391
parentcc6cbe141a20f6d876b161b60af38d93935bfa85
dm table: add immutable feature

Introduce DM_TARGET_IMMUTABLE to indicate that the target type cannot be mixed
with any other target type, and once loaded into a device, it cannot be
replaced with a table containing a different type.

The thin provisioning pool device will use this.

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-ioctl.c
drivers/md/dm-table.c
drivers/md/dm.c
drivers/md/dm.h
include/linux/device-mapper.h
include/linux/dm-ioctl.h