summaryrefslogtreecommitdiffstats
path: root/drivers/md/Kconfig
diff options
context:
space:
mode:
authorMikulas Patocka2014-01-14 01:12:36 +0100
committerMike Snitzer2014-01-15 05:23:02 +0100
commit55494bf2947dccdf2d98b62374fea7365dfead84 (patch)
tree08958b0812f1c59732f6a56e2b567ad3a8da7230 /drivers/md/Kconfig
parentdm snapshot: prepare for switch to using dm-bufio (diff)
downloadkernel-qcow2-linux-55494bf2947dccdf2d98b62374fea7365dfead84.tar.gz
kernel-qcow2-linux-55494bf2947dccdf2d98b62374fea7365dfead84.tar.xz
kernel-qcow2-linux-55494bf2947dccdf2d98b62374fea7365dfead84.zip
dm snapshot: use dm-bufio
Use dm-bufio for initial loading of the exceptions. Introduce a new function dm_bufio_forget that frees the given buffer. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/Kconfig')
-rw-r--r--drivers/md/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig
index 7441344bd214..39b540a13369 100644
--- a/drivers/md/Kconfig
+++ b/drivers/md/Kconfig
@@ -238,6 +238,7 @@ config DM_CRYPT
config DM_SNAPSHOT
tristate "Snapshot target"
depends on BLK_DEV_DM
+ select DM_BUFIO
---help---
Allow volume managers to take writable snapshots of a device.