diff options
author | Kevin Wolf <kwolf@redhat.com> | 2011-04-19 13:13:44 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-04-27 16:20:59 +0200 |
commit | e119bcaceb8dc17fe4874d6b0d2b62752639e488 (patch) | |
tree | ae904b9d7de09ad7018d2890b842a5bfbc9fa656 /cache-utils.h | |
parent | e1a064f982802ebb4a865482b7c0fe5e68d047f9 (diff) |
ide/atapi: Replace bdrv_get_geometry calls by s->nb_sectors
The disk size can only change when the medium is changed, and the change
callback takes care of updating s->nb_sectors in this case.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'cache-utils.h')
0 files changed, 0 insertions, 0 deletions