md: level_store: group all important changes into one place.
authorNeilBrown <neilb@suse.de>
Mon, 15 Dec 2014 01:56:58 +0000 (12:56 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 3 Feb 2015 21:35:53 +0000 (08:35 +1100)
commitdb721d32b74b51a5ac9ec9fab1d85cba90dbdbd3
tree84e1a94956eb212bd0313e0bb9d0f21e9ae5adef
parentafa0f557cb15176570a18fb2a093e348a793afd4
md: level_store: group all important changes into one place.

Gather all the changes that can happen atomically and might
be relevant to other code into one place.  This will
make it easier to refine the locking.

Note that this puts quite a few things between mddev_detach()
and ->free().  Enabling this was the point of some recent patches.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c