NeilBrown 23da422b19 md: use mddev->lock to protect updates to resync_{min,max}.
There are interdependencies between these two sysfs attributes
and whether a resync is currently running.

Rather than depending on reconfig_mutex to ensure no races when
testing these interdependencies are met, use the spinlock.
This will allow the mutex to be remove from protecting this
code in a subsequent patch.

Signed-off-by: NeilBrown <neilb@suse.de>
2015-02-06 09:32:56 +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-11-23 22:33:47 -08: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