diff options
| author | Fam Zheng | 2014-11-10 08:07:44 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi | 2014-11-14 10:20:35 +0100 |
| commit | f3a9cfddaec127078ac1898de6b063db8ac3bb48 (patch) | |
| tree | e8830cf5e066f3d602a8efc7e91a85a8e25b3f0b /linux-headers/linux | |
| parent | ahci: factor out FIS decomposition from handle_cmd (diff) | |
| download | qemu-f3a9cfddaec127078ac1898de6b063db8ac3bb48.tar.gz qemu-f3a9cfddaec127078ac1898de6b063db8ac3bb48.tar.xz qemu-f3a9cfddaec127078ac1898de6b063db8ac3bb48.zip | |
block: Fix max nb_sectors in bdrv_make_zero
In bdrv_rw_co we report -EINVAL for nb_sectors > INT_MAX /
BDRV_SECTOR_SIZE, so a caller shouldn't exceed it.
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-id: 1415603264-21497-1-git-send-email-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'linux-headers/linux')
0 files changed, 0 insertions, 0 deletions
