From: NeilBrown Date: Mon, 3 Aug 2009 00:59:58 +0000 (+1000) Subject: md: Use revalidate_disk to effect changes in size of device. X-Git-Tag: v2.6.31-rc6~83^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=449aad3e25358812c43afc60918c5ad3819488e7;p=pandora-kernel.git md: Use revalidate_disk to effect changes in size of device. As revalidate_disk calls check_disk_size_change, it will cause any capacity change of a gendisk to be propagated to the blockdev inode. So use that instead of mucking about with locks and i_size_write. Also add a call to revalidate_disk in do_md_run and a few other places where the gendisk capacity is changed. Signed-off-by: NeilBrown --- Reading git-diff-tree failed