Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Nov 2004 23:20:06 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Poul-Henning Kamp <phk@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/fs/ntfs ntfs_vfsops.c
Message-ID:  <20041109222006.GT8120@darkness.comp.waw.pl>
In-Reply-To: <200411092216.iA9MGe7s054732@repoman.freebsd.org>
References:  <200411092216.iA9MGe7s054732@repoman.freebsd.org>

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

--RI0j69zTdciYrvy/
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Nov 09, 2004 at 10:16:40PM +0000, Poul-Henning Kamp wrote:
+> phk         2004-11-09 22:16:40 UTC
+>=20
+>   FreeBSD src repository
+>=20
+>   Modified files:
+>     sys/fs/ntfs          ntfs_vfsops.c=20
+>   Log:
+>   Detect root mount attempts on the flag, not on the NULL path.
+>  =20
+>   Revision  Changes    Path
+>   1.65      +1 -1      src/sys/fs/ntfs/ntfs_vfsops.c
+>=20
+> http://cvsweb.FreeBSD.org/src/sys/fs/ntfs/ntfs_vfsops.c.diff?r1=3D1.64&r=
2=3D1.65
+> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
+> 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 $
+>   */
+> =20
+> =20
+> @@ -114,7 +114,7 @@ ntfs_omount (=20
+>  	/*
+>  	 * Use NULL path to flag a root mount
+>  	 */
+> -	if( path =3D=3D NULL) {
+> +	if (mp->mnt_flag & MNT_ROOTFS) {

You can probably remove above comment as well.

--=20
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd@FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!

--RI0j69zTdciYrvy/
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBkUKWForvXbEpPzQRAsXnAKCZ+PZ01iWRiuZUm6+dZnWHxpe7MwCgy8Vp
8j81EULfejNL0k35x4e5nSs=
=W7AB
-----END PGP SIGNATURE-----

--RI0j69zTdciYrvy/--



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