--- drivers/md/Makefile | 3 +++ drivers/md/dm-table.c | 1 + drivers/md/dm-thin.c | 2 +- drivers/md/dm.c | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) Index: linux-3.1-rc3-fast/drivers/md/dm-thin.c =================================================================== --- linux-3.1-rc3-fast.orig/drivers/md/dm-thin.c 2011-08-25 19:22:02.000000000 +0200 +++ linux-3.1-rc3-fast/drivers/md/dm-thin.c 2011-08-25 19:22:09.000000000 +0200 @@ -1333,7 +1333,7 @@ static struct pool *pool_create(struct b goto bad_prison; } - pool->copier = dm_kcopyd_client_create(); + pool->copier = dm_kcopyd_client_create(NULL); if (IS_ERR(pool->copier)) { r = PTR_ERR(pool->copier); *error = "Error creating pool's kcopyd client"; Index: linux-3.1-rc3-fast/drivers/md/Makefile =================================================================== --- linux-3.1-rc3-fast.orig/drivers/md/Makefile 2011-08-25 19:18:52.000000000 +0200 +++ linux-3.1-rc3-fast/drivers/md/Makefile 2011-08-25 19:22:09.000000000 +0200 @@ -10,6 +10,7 @@ dm-snapshot-y += dm-snap.o dm-exception- dm-mirror-y += dm-raid1.o dm-log-userspace-y \ += dm-log-userspace-base.o dm-log-userspace-transfer.o +dm-thin-pool-y += dm-thin.o dm-thin-metadata.o md-mod-y += md.o bitmap.o raid456-y += raid5.o @@ -37,10 +38,12 @@ obj-$(CONFIG_DM_MULTIPATH_QL) += dm-queu obj-$(CONFIG_DM_MULTIPATH_ST) += dm-service-time.o obj-$(CONFIG_DM_SNAPSHOT) += dm-snapshot.o obj-$(CONFIG_DM_MULTISNAPSHOT) += multisnap/ +obj-$(CONFIG_DM_PERSISTENT_DATA) += persistent-data/ obj-$(CONFIG_DM_MIRROR) += dm-mirror.o dm-log.o dm-region-hash.o obj-$(CONFIG_DM_LOG_USERSPACE) += dm-log-userspace.o obj-$(CONFIG_DM_ZERO) += dm-zero.o obj-$(CONFIG_DM_RAID) += dm-raid.o +obj-$(CONFIG_DM_THIN_PROVISIONING) += dm-thin-pool.o obj-$(CONFIG_DM_ZEROED) += dm-zeroed.o ifeq ($(CONFIG_DM_UEVENT),y) Index: linux-3.1-rc3-fast/drivers/md/dm.c =================================================================== --- linux-3.1-rc3-fast.orig/drivers/md/dm.c 2011-08-25 19:18:52.000000000 +0200 +++ linux-3.1-rc3-fast/drivers/md/dm.c 2011-08-25 19:22:09.000000000 +0200 @@ -2232,6 +2232,7 @@ struct mapped_device *dm_get_md(dev_t de return md; } +EXPORT_SYMBOL_GPL(dm_get_md); void *dm_get_mdptr(struct mapped_device *md) { Index: linux-3.1-rc3-fast/drivers/md/dm-table.c =================================================================== --- linux-3.1-rc3-fast.orig/drivers/md/dm-table.c 2011-08-25 19:23:21.000000000 +0200 +++ linux-3.1-rc3-fast/drivers/md/dm-table.c 2011-08-25 19:23:26.000000000 +0200 @@ -55,6 +55,7 @@ struct dm_table { struct dm_target *targets; unsigned integrity_supported:1; + unsigned singleton:1; /* * Indicates the rw permissions for the new logical