diff options
author | David Teigland <teigland@redhat.com> | 2023-03-22 13:05:43 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2023-05-11 11:02:52 -0500 |
commit | fd6e113bba5fed5ee41152cde33220294c24ce2b (patch) | |
tree | 75da977bb817d2688056719c65b9e02c1ae6f4ec /lib/metadata/integrity_manip.c | |
parent | 05c2b10c5d0a99993430ffbcef684a099ba810ad (diff) | |
download | lvm2-fd6e113bba5fed5ee41152cde33220294c24ce2b.tar.gz |
raidintegrity: allow snapshots
Diffstat (limited to 'lib/metadata/integrity_manip.c')
-rw-r--r-- | lib/metadata/integrity_manip.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/metadata/integrity_manip.c b/lib/metadata/integrity_manip.c index d71fbaeb6..6b507f7e9 100644 --- a/lib/metadata/integrity_manip.c +++ b/lib/metadata/integrity_manip.c @@ -508,11 +508,6 @@ int lv_add_integrity_to_raid(struct logical_volume *lv, struct integrity_setting return 0; } - if (lv_is_origin(lv)) { - log_error("Integrity cannot be added to snapshot origins."); - return 0; - } - seg_top = first_seg(lv); area_count = seg_top->area_count; |