commit | 11e2ede0228ee0f81ccacd15894908c3bf241f73 | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Wed Apr 30 00:52:32 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Apr 30 08:29:33 2008 -0700 |
tree | 78bf7c8e2762d5dc07f2b9acb92ef5804ac40f38 | |
parent | 242b363e2207d14125f52a6701cfda7376a2a2fc [diff] |
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 <dan.j.williams@intel.com> Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>