summaryrefslogtreecommitdiff
path: root/mdmon.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-11-22 20:58:06 +1100
committerNeilBrown <neilb@suse.de>2010-11-22 20:58:06 +1100
commit0fb69d1dae8851316bee2a7c0b4ca557de7273ee (patch)
tree953afb5629560ff3efe58a4a301e28626381ea11 /mdmon.c
parent5083d66b9c46edc63575952c011f5675a2d37618 (diff)
Replace various load_super calls with load_container
When we call load_super expecting to find a container, we now just call load_container directly. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdmon.c')
-rw-r--r--mdmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdmon.c b/mdmon.c
index 49362606..f56e57f3 100644
--- a/mdmon.c
+++ b/mdmon.c
@@ -468,7 +468,7 @@ static int mdmon(char *devname, int devnum, int must_fork, int takeover)
}
close(victim_sock);
}
- if (container->ss->load_super(container, mdfd, devname)) {
+ if (container->ss->load_container(container, mdfd, devname)) {
fprintf(stderr, "mdmon: Cannot load metadata for %s\n",
devname);
exit(3);