Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Mar 2003 22:11:32 +0100
From:      "Peter J. Blok" <pblok@inter.NL.net>
To:        freebsd-hackers@freebsd.org
Subject:   patch for vinum
Message-ID:  <200303102211.32856.pblok@inter.NL.net>

next in thread | raw e-mail | index | archive | help

--Boundary_(ID_gBCpA4aS/zHcXV32pwZ6/w)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline

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

--Boundary_(ID_gBCpA4aS/zHcXV32pwZ6/w)
Content-type: text/x-diff; charset=us-ascii; name=vinum.patch
Content-transfer-encoding: 7BIT
Content-disposition: attachment; filename=vinum.patch

*** 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;
  	}
      }
  }

--Boundary_(ID_gBCpA4aS/zHcXV32pwZ6/w)--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303102211.32856.pblok>