]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide-floppy: use drive->capacity64 for caching current capacity
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 17 Oct 2008 16:09:10 +0000 (18:09 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 17 Oct 2008 16:09:10 +0000 (18:09 +0200)
commit6f84083bbb7d206c8555e5834a2c9b887452fd54
treeb19d6916d590b0f5531700d624866580385ec597
parent8f29cd9f12e97d46e601f59810ea6aadd938945d
ide-floppy: use drive->capacity64 for caching current capacity

* Use drive->capacity64 for caching current capacity.

* Switch ide_floppy_capacity() to use drive->capacity64.

* Call set_capacity() in idefloppy_open() and ide_floppy_probe()
  instead of ide_floppy_get_capacity().

There should be no functional changes caused by this patch.

Cc: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-floppy.c