summaryrefslogtreecommitdiffstats
path: root/drivers/md/md.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-03-29 11:18:15 +1100
committerNeilBrown <neilb@suse.de>2010-05-18 15:27:53 +1000
commitb821eaa572fd737faaf6928ba046e571526c36c6 (patch)
tree0db462a3c7da3dbf42d28e2483a27d78839b4589 /drivers/md/md.h
parent49ce6cea85fb8d25ee59486c919406e9cecf1762 (diff)
downloadop-kernel-dev-b821eaa572fd737faaf6928ba046e571526c36c6.zip
op-kernel-dev-b821eaa572fd737faaf6928ba046e571526c36c6.tar.gz
md: remove ->changed and related code.
We set ->changed to 1 and call check_disk_change at the end of md_open so that bd_invalidated would be set and thus partition rescan would happen appropriately. Now that we call revalidate_disk directly, which sets bd_invalidates, that indirection is no longer needed and can be removed. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/md.h')
-rw-r--r--drivers/md/md.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h
index e4836c68..3225e25 100644
--- a/drivers/md/md.h
+++ b/drivers/md/md.h
@@ -237,7 +237,6 @@ struct mddev_s
atomic_t active; /* general refcount */
atomic_t openers; /* number of active opens */
- int changed; /* true if we might need to reread partition info */
int degraded; /* whether md should consider
* adding a spare
*/
OpenPOWER on IntegriCloud