From: Dan Williams Date: Wed, 30 Apr 2008 07:52:32 +0000 (-0700) Subject: md: prevent duplicates in bind_rdev_to_array X-Git-Tag: v2.6.26-rc1~317 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11e2ede0228ee0f81ccacd15894908c3bf241f73;p=pandora-kernel.git md: prevent duplicates in bind_rdev_to_array Found when trying to reassemble an active externally managed array. Without this check we hit the more noisy "sysfs duplicate" warning in the later call to kobject_add. Signed-off-by: Dan Williams Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed