From 56bca01738733709bef076e2e97bbd01e5659f24 Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Sat, 15 May 2010 20:09:28 +0200 Subject: [PATCH] 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 Reported-by: Ben Hutchings Acked-by: David S. Miller Signed-off-by: Jens Axboe --- Reading git-format-patch failed