1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-25 21:57:45 +03:00

debug: drop debug trace from regular path

Since we query on regular code these:
  lv_raid_has_integrity()
  lv_has_integrity_recalculate_metadata()
without prior checking for lv_is_raid() - these 'return 0' should
not use <stacktrace> as they are expected.
This commit is contained in:
Zdenek Kabelac 2020-09-10 23:33:46 +02:00
parent bc09803628
commit e7bd3ba22d

View File

@ -828,7 +828,7 @@ int lv_has_integrity_recalculate_metadata(struct logical_volume *lv)
int ret = 0;
if (!lv_is_raid(lv) && !lv_is_integrity(lv))
return_0;
return 0;
seg = first_seg(lv);
@ -856,7 +856,7 @@ int lv_raid_has_integrity(struct logical_volume *lv)
uint32_t s;
if (!lv_is_raid(lv))
return_0;
return 0;
seg = first_seg(lv);