ide-gd: re-get capacity on revalidate
authorBorislav Petkov <petkovbb@gmail.com>
Sun, 2 Nov 2008 20:40:10 +0000 (21:40 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 2 Nov 2008 20:40:10 +0000 (21:40 +0100)
commit52ebb438e952c674e5a5c131292589db9bcf169b
treeeba090be2781f18d7c6820f131d67c104b0cf548
parent7afa05350c42d8427f2d8f6112b64ab0812f3289
ide-gd: re-get capacity on revalidate

We need to re-get a removable media's capacity when revalidating the
disk so that its partitions get rescanned by the block layer.

Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: axboe@kernel.dk
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-gd.c