From owner-cvs-src@FreeBSD.ORG Sun Dec 17 05:42:00 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AB8F716A40F; Sun, 17 Dec 2006 05:42:00 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2212543CB8; Sun, 17 Dec 2006 05:41:53 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.21] (andersonbox1.centtech.com [192.168.42.21]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id kBH5fp80096399; Sat, 16 Dec 2006 23:41:52 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <4584D8AD.1000701@centtech.com> Date: Sat, 16 Dec 2006 23:42:05 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.7 (X11/20061015) MIME-Version: 1.0 To: Craig Rodrigues References: <200612161550.kBGFoaV1003789@repoman.freebsd.org> In-Reply-To: <200612161550.kBGFoaV1003789@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2349/Sat Dec 16 18:12:22 2006 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=8.0 tests=BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/kern vfs_export.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Dec 2006 05:42:00 -0000 On 12/16/06 09:50, Craig Rodrigues wrote: > rodrigc 2006-12-16 15:50:36 UTC > > FreeBSD src repository > > Modified files: > sys/kern vfs_export.c > Log: > In vfs_export(), if we specify MNT_DELEXPORT in the struct export_args, > after we perform the operations to delete the export, > call vfs_deleteopt() to delete the "export" mount option from > the linked list of mount options associated with that mount point. > > This fixes one scenario: > - put a filesystem in /etc/exports to export it > - remove the filesystem from /etc/exports to delete the export and restart > mountd > - try to do a "mount -u -o ro" or "mount -u -o rw" on that filesystem > now that it is no longer exported. > > Revision Changes Path > 1.339 +4 -1 src/sys/kern/vfs_export.c Thank you!!! I hope this can be MFC'ed.. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology An undefined problem has an infinite number of solutions. ------------------------------------------------------------------------