linux/drivers/block/xen-blkback
Jan Beulich 8ab521506c xen/blkback: don't fail empty barrier requests
The sector number on empty barrier requests may (will?) be -1, which,
given that it's being treated as unsigned 64-bit quantity, will almost
always exceed the actual (virtual) disk's size.

Inspired by Konrad's "When writting barriers set the sector number to
zero...".

While at it also add overflow checking to the math in vbd_translate().

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
2011-05-18 11:28:16 -04:00
..
blkback.c xen/blkback: don't fail empty barrier requests 2011-05-18 11:28:16 -04:00
common.h xen/blkback: Add the prefix XEN in the common.h. 2011-05-12 17:55:53 -04:00
Makefile
xenbus.c xen/blkback: Align the tabs on the structure. 2011-05-12 18:02:28 -04:00