lvmstrap: fix logic bug for partition reread
authorIustin Pop <iustin@google.com>
Wed, 26 Jan 2011 10:19:03 +0000 (11:19 +0100)
committerIustin Pop <iustin@google.com>
Wed, 26 Jan 2011 10:38:43 +0000 (11:38 +0100)
commit996f742d22c1631fb4f56d3315553a438745bfc4
tree343ed540d0749fd5e487df62c59ff1077affad12
parent6ec7790087df0c55ef0ca68c384671e4b1ab69cb
lvmstrap: fix logic bug for partition reread

The if structure in CheckReread is broken, and makes partitions reread
be full of race issues (esp. after updating them).

Also fix a small message bug.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
tools/lvmstrap