From: NeilBrown Date: Mon, 15 Dec 2014 01:56:58 +0000 (+1100) Subject: md: rename ->stop to ->free X-Git-Tag: fixes-v4.0-rc1~120^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afa0f557cb15176570a18fb2a093e348a793afd4;p=pandora-kernel.git 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 --- Reading git-diff-tree failed