]> sourceware.org Git - lvm2.git/commit
Remove INCONSISTENT_VG flag
authorZdenek Kabelac <zkabelac@redhat.com>
Wed, 10 Aug 2011 20:17:33 +0000 (20:17 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Wed, 10 Aug 2011 20:17:33 +0000 (20:17 +0000)
commit789f9c55e5a526ee3ded3f95bfce3ce836bc3dd2
tree3a944c0ab0ac25844500a4a6da9f84bc11084c70
parente01bcc6884be9a31bcccdec07ee348a8d40ae54e
Remove INCONSISTENT_VG flag

As this flag could not have been set by the current code - removing it.

Note: because of the wrong code logic this call:

lvmcache_update_vg(correct_vg, correct_vg->status & PRECOMMITTED &
   (inconsistent ? INCONSISTENT_VG : 0));

had always passed '0' - now after flag removal it's passing
PRECOMMITTED flag in - this present functinal change in this patch.

To match the original functionality - 0 had to be always passed.
More testing is needed here.
WHATS_NEW
lib/metadata/metadata.c
lib/metadata/metadata.h
This page took 0.03991 seconds and 5 git commands to generate.