diff options
author | Markus Armbruster <armbru@redhat.com> | 2014-06-26 13:23:25 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-08-15 15:07:13 +0200 |
commit | 52bf1e722d996d1accfc35e29283f172d003d9b2 (patch) | |
tree | 6244812b64390f1274615ba0bad9028d501505eb /stubs | |
parent | d739f1c41094141268a33fa8fc6715fbab714fbe (diff) |
block: Avoid bdrv_get_geometry() where errors should be detected
bdrv_get_geometry() hides errors. Use bdrv_nb_sectors() or
bdrv_getlength() instead where that's obviously inappropriate.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'stubs')
0 files changed, 0 insertions, 0 deletions