summaryrefslogtreecommitdiffstats
path: root/mdmon.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2010-07-02 02:36:11 +0200
committerDan Williams <dan.j.williams@intel.com>2010-07-02 02:36:11 +0200
commitd19e3cfb6627c40e3a28454ebc2098c0e19b9a77 (patch)
tree362fe9dceb5037be4f48ffc2cf9ddfd9e2635c34 /mdmon.c
parentMerge branch 'subarray' into for-neil (diff)
parentmdmon: prevent allocations due to late binding (diff)
downloadmdadm-d19e3cfb6627c40e3a28454ebc2098c0e19b9a77.tar.xz
mdadm-d19e3cfb6627c40e3a28454ebc2098c0e19b9a77.zip
Merge branch 'fixes' into for-neil
Diffstat (limited to 'mdmon.c')
-rw-r--r--mdmon.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mdmon.c b/mdmon.c
index beb39cfc..0c374260 100644
--- a/mdmon.c
+++ b/mdmon.c
@@ -373,8 +373,7 @@ static int mdmon(char *devname, int devnum, int must_fork, int takeover)
exit(3);
}
- mdi = sysfs_read(mdfd, container->devnum,
- GET_VERSION|GET_LEVEL|GET_DEVS|SKIP_GONE_DEVS);
+ mdi = sysfs_read(mdfd, container->devnum, GET_VERSION|GET_LEVEL|GET_DEVS);
if (!mdi) {
fprintf(stderr, "mdmon: failed to load sysfs info for %s\n",