From owner-cvs-all@FreeBSD.ORG Tue Nov 9 23:20:04 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A00816A4CE; Tue, 9 Nov 2004 23:20:04 +0000 (GMT) Received: from pittgoth.com (14.zlnp1.xdsl.nauticom.net [209.195.149.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDC4843D2D; Tue, 9 Nov 2004 23:20:03 +0000 (GMT) (envelope-from trhodes@FreeBSD.org) Received: from localhost.staybridgemclean.com (uslec-66-255-177-98.cust.uslec.net [66.255.177.98]) (authenticated bits=0) by pittgoth.com (8.12.10/8.12.10) with ESMTP id iA9NK22M083490 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 9 Nov 2004 18:20:02 -0500 (EST) (envelope-from trhodes@FreeBSD.org) Date: Tue, 9 Nov 2004 18:19:53 -0500 From: Tom Rhodes To: Pawel Jakub Dawidek Message-ID: <20041109181953.65c09766@localhost.staybridgemclean.com> In-Reply-To: <20041109222006.GT8120@darkness.comp.waw.pl> References: <200411092216.iA9MGe7s054732@repoman.freebsd.org> <20041109222006.GT8120@darkness.comp.waw.pl> X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: Poul-Henning Kamp cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/fs/ntfs ntfs_vfsops.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2004 23:20:04 -0000 On Tue, 9 Nov 2004 23:20:06 +0100 Pawel Jakub Dawidek wrote: > On Tue, Nov 09, 2004 at 10:16:40PM +0000, Poul-Henning Kamp wrote: > +> phk 2004-11-09 22:16:40 UTC > +> > +> FreeBSD src repository > +> > +> Modified files: > +> sys/fs/ntfs ntfs_vfsops.c > +> Log: > +> Detect root mount attempts on the flag, not on the NULL path. > +> > +> Revision Changes Path > +> 1.65 +1 -1 src/sys/fs/ntfs/ntfs_vfsops.c > +> > +> http://cvsweb.FreeBSD.org/src/sys/fs/ntfs/ntfs_vfsops.c.diff?r1=1.64&r2=1.65 > +> =================================================================== > +> RCS file: /usr/local/www/cvsroot/FreeBSD/src/sys/fs/ntfs/ntfs_vfsops.c,v > +> retrieving revision 1.64 > +> retrieving revision 1.65 > +> diff -u -p -r1.64 -r1.65 > +> --- src/sys/fs/ntfs/ntfs_vfsops.c 2004/11/04 07:18:54 1.64 > +> +++ src/sys/fs/ntfs/ntfs_vfsops.c 2004/11/09 22:16:40 1.65 > +> @@ -25,7 +25,7 @@ > +> * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF > +> * SUCH DAMAGE. > +> * > +> - * $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/fs/ntfs/ntfs_vfsops.c,v 1.64 2004/11/04 07:18:54 phk Exp $ > +> + * $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/fs/ntfs/ntfs_vfsops.c,v 1.65 2004/11/09 22:16:40 phk Exp $ > +> */ > +> > +> > +> @@ -114,7 +114,7 @@ ntfs_omount ( > +> /* > +> * Use NULL path to flag a root mount > +> */ > +> - if( path == NULL) { > +> + if (mp->mnt_flag & MNT_ROOTFS) { > > You can probably remove above comment as well. I killed it. I was here, I had a minute, I did a commit. -- Tom Rhodes