summaryrefslogtreecommitdiffstats
path: root/sys/dev/vinum
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2001-10-13 07:22:12 +0000
committergrog <grog@FreeBSD.org>2001-10-13 07:22:12 +0000
commit669a9fc021f5a321db1746b3b4e93ed2778260a3 (patch)
tree57da2eff4085bcef3c70a74d2b8ef40c46c61e8a /sys/dev/vinum
parentbbb90841ee74c1bb21fde0f8236f82a15ef04663 (diff)
downloadFreeBSD-src-669a9fc021f5a321db1746b3b4e93ed2778260a3.zip
FreeBSD-src-669a9fc021f5a321db1746b3b4e93ed2778260a3.tar.gz
attachobject: Return correct status after successfully attaching a
plex. Indirectly found by: Hendrik Scholz <hscholz@perikles.toppoint.de>
Diffstat (limited to 'sys/dev/vinum')
-rw-r--r--sys/dev/vinum/vinumioctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/vinum/vinumioctl.c b/sys/dev/vinum/vinumioctl.c
index aeafdd2..7abfe11 100644
--- a/sys/dev/vinum/vinumioctl.c
+++ b/sys/dev/vinum/vinumioctl.c
@@ -632,6 +632,7 @@ attachobject(struct vinum_ioctl_msg *msg)
give_plex_to_volume(msg->otherobject, msg->index); /* and give it to the volume */
update_plex_config(plex->plexno, 0);
save_config();
+ reply->error = 0; /* all went well */
}
}
}
OpenPOWER on IntegriCloud