commit | 449aad3e25358812c43afc60918c5ad3819488e7 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Mon Aug 03 10:59:58 2009 +1000 |
committer | NeilBrown <neilb@suse.de> | Mon Aug 03 10:59:58 2009 +1000 |
tree | 45fab3b82fc1ed06959537a0801319045cf4c102 | |
parent | 64bd660b51b2da92e99a5e97349f6558349f11c5 [diff] |
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 <neilb@suse.de>