summaryrefslogtreecommitdiffstats
path: root/xmalloc.c
diff options
context:
space:
mode:
authorArtur Paszkiewicz <artur.paszkiewicz@intel.com>2015-02-09 11:13:50 +0100
committerNeilBrown <neilb@suse.de>2015-02-11 05:27:57 +0100
commit19d3ea0f0b4decef347770b9b0d1a74fba4f7776 (patch)
tree6d1e313941bf473a1f8e1901cf459cd8d46aecd4 /xmalloc.c
parentmdcheck: be careful when sourcing the output of "mdadm --detail --export" (diff)
downloadmdadm-19d3ea0f0b4decef347770b9b0d1a74fba4f7776.tar.xz
mdadm-19d3ea0f0b4decef347770b9b0d1a74fba4f7776.zip
Monitor: fix for regression with container devices
This patch fixes 2 problems introduced by commit 9a518d8: not closing a file descriptor and ignoring container devices. Array state is always "inactive" for containers, so we make sure that the device is not a container by reading also the "level" sysfs entry. Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com> Reviewed-by: Pawel Baldysiak <pawel.baldysiak@intel.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'xmalloc.c')
0 files changed, 0 insertions, 0 deletions