]> git.baikalelectronics.ru Git - kernel.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)
commitf725021142a918325188c54f7f555eb324bbcb37
tree0db462a3c7da3dbf42d28e2483a27d78839b4589
parent545c005e2f19a9b23e9f0f48c4d3dfc72f3875b8
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