]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit432fc5e9e35deb60f3f420d4fb5bc65d17960a27
tree039ceda7941e3aa8c40ce645379de518e2a68208
parentb3e8eaaddfc6412f114ed972b6dcae35eeb688f8
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