]> git.karo-electronics.de Git - mv-sheeva.git/commit
md: remove ->changed and related code.
authorNeilBrown <neilb@suse.de>
Mon, 29 Mar 2010 00:18:15 +0000 (11:18 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 18 May 2010 05:27:53 +0000 (15:27 +1000)
commitb821eaa572fd737faaf6928ba046e571526c36c6
tree0db462a3c7da3dbf42d28e2483a27d78839b4589
parent49ce6cea85fb8d25ee59486c919406e9cecf1762
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>
drivers/md/md.c
drivers/md/md.h
drivers/md/raid1.c
drivers/md/raid5.c