LVM2/tools lvchange.c vgchange.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2011-11-03 14:41:18
Modified files:
tools : lvchange.c vgchange.c
Log message:
Thin avoids need of having writable VG for activation
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/lvchange.c.diff?cvsroot=lvm2&r1=1.133&r2=1.134
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/vgchange.c.diff?cvsroot=lvm2&r1=1.127&r2=1.128
tools/lvchange.c +0 -4
@@ -142,10 +142,6 @@ "exclusively", lv->name);if (!activate_lv_excl (cmd, lv)) return_0; -/* Drop any left thin messages after activation */ -if (lv_is_thin_volume (lv) && - !detach_pool_messages (first_seg (lv)->pool_lv)) - return_0; }else if (activate ==CHANGE_ALY ) {log_verbose ("Activating logical volume \"%s\" locally" , lv->name);
tools/vgchange.c +0 -6
@@ -157,12 +157,6 @@ stack;continue ; } -/* Drop any left thin messages after activation */ -if (lv_is_thin_volume (lv) && - !detach_pool_messages (first_seg (lv)->pool_lv)) { - stack; -continue ; - } }else if (activate ==CHANGE_ALY ) {if (!activate_lv_local (cmd, lv)) { stack;