RebuildMap: handle missing disks
authorDan Williams <dan.j.williams@intel.com>
Sun, 12 Apr 2009 07:58:28 +0000 (00:58 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sun, 12 Apr 2009 07:58:28 +0000 (00:58 -0700)
commit506ffd1e0bd08cc74f5177d4f4db7c66d7724f6a
tree86972ba933cd8b81e32c09ceda431955bb653eba
parent252d23c018cefb2e42c494b1789f5e4945063ee3
RebuildMap: handle missing disks

When rebuilding the map file tolerate missing/offline disks, otherwise
we will segfault on the NULL return from sysfs_read.

Reported-by: Jacek Danecki <jacek.danecki@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
mapfile.c