NeilBrown afa0f557cb md: rename ->stop to ->free
Now that the ->stop function only frees the private data,
rename is accordingly.

Also pass in the private pointer as an arg rather than using
mddev->private.  This flexibility will be useful in level_store().

Finally, don't clear ->private.  It doesn't make sense to clear
it seeing that isn't what we free, and it is no longer necessary
to clear ->private (it was some time ago before  ->to_remove was
introduced).

Setting ->to_remove in ->free() is a bit of a wart, but not a
big problem at the moment.

Signed-off-by: NeilBrown <neilb@suse.de>
2015-02-04 08:35:52 +11:00
..
2014-01-14 23:23:03 -05:00
2013-11-23 22:33:47 -08:00
2014-08-01 12:30:30 -04:00
2013-08-23 09:02:13 -04:00
2013-11-23 22:33:47 -08:00
2012-07-30 17:25:16 -07:00
2013-09-05 20:46:06 -04:00
2014-01-14 23:23:04 -05:00
2015-02-04 08:35:52 +11:00
2014-03-27 16:56:23 -04:00
2015-02-04 08:35:52 +11:00
2014-03-27 16:56:23 -04:00
2015-02-04 08:35:52 +11:00
2015-02-04 08:35:52 +11:00
2015-02-04 08:35:52 +11:00
2015-02-04 08:35:52 +11:00
2015-02-04 08:35:52 +11:00
2015-02-04 08:35:52 +11:00
2015-02-04 08:35:52 +11:00