diff options
author | Tejun Heo <tj@kernel.org> | 2010-05-15 20:09:28 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2010-05-21 20:01:02 +0200 |
commit | 56bca01738733709bef076e2e97bbd01e5659f24 (patch) | |
tree | d4444fe75c7571a0fd9dd24df0ae7017b26cb7c5 /drivers/ide/ide-gd.c | |
parent | buffer: make invalidate_bdev() drain all percpu LRU add caches (diff) | |
download | linux-56bca01738733709bef076e2e97bbd01e5659f24.tar.xz linux-56bca01738733709bef076e2e97bbd01e5659f24.zip |
block: restart partition scan after resizing a device
Device resize via ->set_capacity() can reveal new partitions (e.g. in
chained partition table formats such as dos extended parts). Restart
partition scan from the beginning after resizing a device. This
change also makes libata always revalidate the disk after resize which
makes lower layer native capacity unlocking implementation simpler and
more robust as resize can be handled in the usual path.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Ben Hutchings <ben@decadent.org.uk>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/ide/ide-gd.c')
0 files changed, 0 insertions, 0 deletions