From: Dan Williams Date: Sun, 13 Dec 2009 04:17:06 +0000 (-0700) Subject: md: rcu_read_lock() walk of mddev->disks in md_do_sync() X-Git-Tag: v2.6.33-rc1~284^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e59ca7da05f0d5d3ad40365c502c8b0fd24c7e3;p=pandora-kernel.git md: rcu_read_lock() walk of mddev->disks in md_do_sync() Other walks of this list are either under rcu_read_lock() or the list mutation lock (mddev_lock()). This protects against the improbable case of a disk being removed from the array at the start of md_do_sync(). Signed-off-by: Dan Williams --- Reading git-diff-tree failed