]> sourceware.org Git - lvm2.git/commit
tools: add common lv_change_activate
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 11 Apr 2013 11:51:08 +0000 (13:51 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 12 Apr 2013 09:30:07 +0000 (11:30 +0200)
commita81a2406f18c6ad0802a02892214f56b1bb99c13
tree335e5410bc53ec461f6d8268754ddf37277b4d38
parent698137ec38a3582954543685bffb1e937ab61c34
tools: add common lv_change_activate

Move common code for changing activation state from
vgchange and lvchange to one function.

Fix the order of checks - so we always implicitelly
activate snapshots and thin volumes in exclusive mode,
and we do not allow local deactivation for them.
WHATS_NEW
tools/lvchange.c
tools/toollib.c
tools/toollib.h
tools/vgchange.c
This page took 0.040016 seconds and 5 git commands to generate.