LVM: remove old tags when adding new ones
authorIustin Pop <iustin@google.com>
Thu, 18 Oct 2012 15:58:45 +0000 (17:58 +0200)
committerIustin Pop <iustin@google.com>
Fri, 19 Oct 2012 14:55:25 +0000 (16:55 +0200)
commita1556cfa77d6f92ce7e3c640a98d37dd7ad04813
treebc433061c385fe7a8c63e196a4ced1352418dd0c
parente398546b0c111776c06980bd633cc87afd75b371
LVM: remove old tags when adding new ones

This patch adds a small helper function to clear an LV's tags, and
calls it at SetInfo time. We need this to be able to correctly track
instance renames, once we will call SetInfo at such times.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
lib/bdev.py