Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jul 2002 21:29:03 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 13850 for review
Message-ID:  <200207070429.g674T3hl028004@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=13850

Change 13850 by rwatson@rwatson_curry on 2002/07/06 21:28:51

	Typo: check the right vnode field.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#159 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#159 (text+ko) ====

@@ -966,7 +966,7 @@
 		return (0);
  */
 		printf("vn_refreshlabel: null v_mount\n");
-		if (vp->v_type != VT_NON)
+		if (vp->v_tag != VT_NON)
 			printf(
 			    "vn_refreshlabel: null v_mount with non-VT_NON\n");
 		return (EBADF);
@@ -2315,7 +2315,7 @@
 
 	if (vp->v_mount == NULL) {
 		printf("vn_setlabel: null v_mount\n");
-		if (vp->v_type != VT_NON)
+		if (vp->v_tag != VT_NON)
 			printf("vn_setlabel: null v_mount with non-VT_NON\n");
 		return (EBADF);
 	}

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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