md/linear: use call_rcu to free obsolete 'conf' structures.
authorNeilBrown <neilb@suse.de>
Wed, 17 Jun 2009 22:49:42 +0000 (08:49 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 17 Jun 2009 22:49:42 +0000 (08:49 +1000)
Current, when we update the 'conf' structure, when adding a
drive to a linear array, we keep the old version around until
the array is finally stopped, as it is not safe to free it
immediately.

Now that we have rcu protection on all accesses to 'conf',
we can use call_rcu to free it more promptly.

Signed-off-by: NeilBrown <neilb@suse.de>

No differences found