From: Konrad Rzeszutek Wilk Date: Mon, 10 Oct 2011 16:33:21 +0000 (-0400) Subject: xen/blkback: Report VBD_WSECT (wr_sect) properly. X-Git-Tag: v3.2-rc1~48^2~3^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c62cb48602dba95159c81ffeca179d3852e25be;p=pandora-kernel.git xen/blkback: Report VBD_WSECT (wr_sect) properly. We did not increment the amount of sectors written to disk b/c we tested for the == WRITE which is incorrect - as the operations are more of WRITE_FLUSH, WRITE_ODIRECT. This patch fixes it by doing a & WRITE check. CC: stable@kernel.org Reported-by: Andy Burns Suggested-by: Ian Campbell Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed