From: NeilBrown Date: Wed, 9 May 2007 09:35:39 +0000 (-0700) Subject: md: improve partition detection in md array X-Git-Tag: v2.6.22-rc1~152 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b479c91da90eef605f851508744bfe8269591a0;p=pandora-kernel.git md: improve partition detection in md array md currently uses ->media_changed to make sure rescan_partitions is call on md array after they are assembled. However that doesn't happen until the array is opened, which is later than some people would like. So use blkdev_ioctl to do the rescan immediately that the array has been assembled. This means we can remove all the ->change infrastructure as it was only used to trigger a partition rescan. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed