attachobject: Return correct status after successfully attaching a

plex.

Indirectly found by:	Hendrik Scholz <hscholz@perikles.toppoint.de>
This commit is contained in:
Greg Lehey 2001-10-13 07:22:12 +00:00
parent 4e567de4ae
commit 5de383bcbc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=84875

View File

@ -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 */
}
}
}