xen/blkback: Change statistics counter types to unsigned
authorZoltan Kiss <zoltan.kiss@citrix.com>
Mon, 11 Mar 2013 16:15:50 +0000 (16:15 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 11 Mar 2013 17:56:54 +0000 (13:56 -0400)
commit986cacbd26abe5d498be922cd6632f1ec376c271
tree039ceda7941e3aa8c40ce645379de518e2a68208
parent0e367ae46503cfe7791460c8ba8434a5d60b2bd5
xen/blkback: Change statistics counter types to unsigned

These values shouldn't be negative, but after an overflow their value
can turn into negative, if they are signed. xentop can show bogus
values in this case.

Signed-off-by: Zoltan Kiss <zoltan.kiss@citrix.com>
Reported-by: Ichiro Ogino <ichiro.ogino@citrix.co.jp>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/block/xen-blkback/blkback.c
drivers/block/xen-blkback/common.h
drivers/block/xen-blkback/xenbus.c