summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2020-04-13 15:58:28 -0500
committerDavid Teigland <teigland@redhat.com>2020-05-21 17:19:21 -0500
commitcac2cf392c31a133a1045907e7a3a06c24c247a8 (patch)
tree10e5b009b820b971abebb550a1e24dc27e707083
parent0d89980923daaec6cd36ab608e1e89f857a9cb2b (diff)
downloadlvm2-dev-dct-writecache83-1.tar.gz
writecache: allow snapshot of LV with writecachedev-dct-writecache83-1
-rw-r--r--lib/metadata/snapshot_manip.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/metadata/snapshot_manip.c b/lib/metadata/snapshot_manip.c
index 3faea0eb8..0f48e62e8 100644
--- a/lib/metadata/snapshot_manip.c
+++ b/lib/metadata/snapshot_manip.c
@@ -389,8 +389,6 @@ int validate_snapshot_origin(const struct logical_volume *origin_lv)
err = "raid subvolumes";
} else if (lv_is_raid(origin_lv) && lv_raid_has_integrity((struct logical_volume *)origin_lv)) {
err = "raid with integrity";
- } else if (lv_is_writecache(origin_lv)) {
- err = "writecache";
}
if (err) {