diff options
author | NeilBrown <neilb@suse.de> | 2014-12-15 04:56:57 +0300 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2015-02-04 00:35:52 +0300 |
commit | 3be260cc18f850873cd32381158e28b0a9a391fd (patch) | |
tree | 2400b6a0774d047cf3cc90c8471f8d91ec89908c /drivers/gpio/gpio-em.c | |
parent | 64590f45ddc7147fa1968147a1f5b5c436b728fe (diff) | |
download | linux-3be260cc18f850873cd32381158e28b0a9a391fd.tar.xz |
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 <neilb@suse.de>
Diffstat (limited to 'drivers/gpio/gpio-em.c')
0 files changed, 0 insertions, 0 deletions