Fix #733320: fix rounding inconsistency between lvresize/lvreduce
PATCH 1/1 Fix #733320: fix rounding inconsistency between lvresize/lvreduce
Hi,
we wan to round in the safe direction, regardless of whether we were called as lvresize or lvreduce. The attached patch implements that (and adds a regression test).
Yours,
Petr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvresize-rounding.diff
Type: text/x-diff
Size: 1826 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20110915/6fdb8180/attachment.bin>
-------------- next part --------------
Signature · 1 line
id' Ash = Ash; id' Dust = Dust; id' _ = undefined
PATCH 1/1 Fix #733320: fix rounding inconsistency between lvresize/lvreduce
Quoted 3 lines · Petr Rockai
we wan to round in the safe direction, regardless of whether we were called as lvresize or lvreduce. The attached patch implements that (and adds a regression test).
yes, that seems much more better.
ACK.
Milan