From: NeilBrown Date: Mon, 15 Dec 2014 01:56:57 +0000 (+1100) Subject: md/linear: remove rcu protections in favour of suspend/resume X-Git-Tag: fixes-v4.0-rc1~120^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3be260cc18f8;p=pandora-kernel.git md/linear: remove rcu protections in favour of suspend/resume The use of 'rcu' to protect accesses to ->private_data so that the ->private_data could be updated predates the introduction of mddev_suspend/mddev_resume. These are a cleaner mechanism for providing stability while swapping in a new ->private data - it is used by level_store() to support changing of raid levels. So get rid of the RCU stuff and just use mddev_suspend, mddev_resume. As these function call ->quiesce(), we add an empty function for linear just like for raid0. Signed-off-by: NeilBrown --- Reading git-diff-tree failed