Hi,

Can somebody commit the following patch for vinum. This is already inside 
FreeBSD-5.0, but seems to be forgotten in 4.X-STABLE.

It fixes a strange (and unknown) error code when doing vinum detach. The error 
variable is not set to 0.

Peter
*** dev/vinum/vinumioctl.c.orig	Sun Feb  3 01:44:19 2002
--- dev/vinum/vinumioctl.c	Wed Jan  8 02:26:11 2003
***************
*** 629,634 ****
--- 629,635 ----
  	    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;
  	}
      }
  }

Reply via email to