[sheepdog] [PATCH v2] object cache: fix a wrong conversion assignment

Liu Yuan namei.unix at gmail.com
Wed Dec 4 04:18:56 CET 2013


On Tue, Dec 03, 2013 at 02:38:44PM +0800, Liu Yuan wrote:
> If we assign the integer to a wider one, the width of that integer isn't
> automatically converted and then we'll get a partial valume.
> 
> This fix following problem:
> 
> sheep -w size=1T # which will overflow a 32bit integer
> dog vdi cache info # will get a wrong value

Applied

Yuan



More information about the sheepdog mailing list