]> sourceware.org Git - lvm2.git/commit
Disallow the direct removal of a merging snapshot.
authorMike Snitzer <snitzer@redhat.com>
Fri, 23 Apr 2010 19:27:10 +0000 (19:27 +0000)
committerMike Snitzer <snitzer@redhat.com>
Fri, 23 Apr 2010 19:27:10 +0000 (19:27 +0000)
commitd5857e6d4853f954f4b8bca9bca3f2b3a9192f4a
tree4ab9bd06d7deea8071c3135ea261d779b6a29699
parentb004ea2d7ff0737f7477772fea8ffd4136b7a567
Disallow the direct removal of a merging snapshot.

Allow lv_remove_with_dependencies() to know the top-level LV that was
requested to be removed (otherwise it recurses and we lose context).

A merging snapshot cannot be removed directly but the associated origin
can be.  Disallow removal of a merging snapshot unless the associated
origin is also being removed.
WHATS_NEW
lib/metadata/lv_manip.c
lib/metadata/metadata-exported.h
lib/metadata/metadata.c
test/t-snapshot-merge.sh
tools/lvremove.c
This page took 0.034884 seconds and 5 git commands to generate.