fix add_dev() handling of broken links
authorDan Williams <dan.j.williams@intel.com>
Mon, 10 Nov 2008 16:30:07 +0000 (09:30 -0700)
committerDan Williams <dan.j.williams@intel.com>
Mon, 10 Nov 2008 16:30:07 +0000 (09:30 -0700)
Resolves issues like:
mdadm -Ss
mdadm: unable to open /dev/md/r1: No such file or directory

...where /dev/md/r1 points to a removed device.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>

No differences found