summaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2010-05-15 20:09:28 +0200
committerJens Axboe <jens.axboe@oracle.com>2010-05-21 20:01:02 +0200
commit56bca01738733709bef076e2e97bbd01e5659f24 (patch)
treed4444fe75c7571a0fd9dd24df0ae7017b26cb7c5 /drivers/ide
parentfa4b9074cd8428958c2adf9dc0c831f46e27c193 (diff)
downloadlinux-56bca01738733709bef076e2e97bbd01e5659f24.tar.bz2
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')
0 files changed, 0 insertions, 0 deletions