cvs commit: src/sys/fs/ntfs ntfs_vfsops.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Nov 9 14:20:08 PST 2004


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.

-- 
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd at FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20041109/2b0babb6/attachment.bin


More information about the cvs-all mailing list