remove dead code in bdrv_check_request (Christoph Hellwig)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 29 Mar 2009 01:31:48 +0000 (01:31 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 29 Mar 2009 01:31:48 +0000 (01:31 +0000)
commitac62cbe91f6500e93eeea756222dedb34e1b2b6f
tree9dcca74ef7ac511d77fa2fc2d7dbefd2ff1b0343
parentf9653a2da2edfb85d76ac4182eabcadf688fc973
remove dead code in bdrv_check_request (Christoph Hellwig)

Remove code dealing with negative sector numbers for byte access in
bdrv_check_request as sector numbers can't ever be negative.

Previously we supported negative sector counts for byte access, but
never sector numbers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6942 c046a42c-6fe2-441c-8c8c-71466251a162
block.c