From owner-freebsd-hackers Mon Mar 10 13:12:42 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DFC837B401 for ; Mon, 10 Mar 2003 13:12:41 -0800 (PST) Received: from smtp10.wxs.nl (smtp10.wxs.nl [195.121.6.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5818B43F93 for ; Mon, 10 Mar 2003 13:12:40 -0800 (PST) (envelope-from pblok@inter.NL.net) Received: from bsdpc (ip503cf841.speed.planet.nl [80.60.248.65]) by smtp10.wxs.nl (iPlanet Messaging Server 5.2 Patch 1 (built Aug 19 2002)) with ESMTP id <0HBJ00IGRXK657@smtp10.wxs.nl> for freebsd-hackers@freebsd.org; Mon, 10 Mar 2003 22:12:07 +0100 (MET) Date: Mon, 10 Mar 2003 22:11:32 +0100 From: "Peter J. Blok" Subject: patch for vinum To: freebsd-hackers@freebsd.org Message-id: <200303102211.32856.pblok@inter.NL.net> MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_gBCpA4aS/zHcXV32pwZ6/w)" User-Agent: KMail/1.5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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