From cac2cf392c31a133a1045907e7a3a06c24c247a8 Mon Sep 17 00:00:00 2001 From: David Teigland Date: Mon, 13 Apr 2020 15:58:28 -0500 Subject: writecache: allow snapshot of LV with writecache --- lib/metadata/snapshot_manip.c | 2 -- 1 file changed, 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) { -- cgit v1.2.1