diff options
Diffstat (limited to 'drivers/ide/ide-disk.c')
-rw-r--r-- | drivers/ide/ide-disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-disk.c b/drivers/ide/ide-disk.c index 83da9a98dabc..d4d730252669 100644 --- a/drivers/ide/ide-disk.c +++ b/drivers/ide/ide-disk.c | |||
@@ -472,7 +472,7 @@ static void init_idedisk_capacity(ide_drive_t *drive) | |||
472 | 472 | ||
473 | static sector_t idedisk_capacity(ide_drive_t *drive) | 473 | static sector_t idedisk_capacity(ide_drive_t *drive) |
474 | { | 474 | { |
475 | return drive->capacity64 - drive->sect0; | 475 | return drive->capacity64; |
476 | } | 476 | } |
477 | 477 | ||
478 | #ifdef CONFIG_IDE_PROC_FS | 478 | #ifdef CONFIG_IDE_PROC_FS |