Date: Sat, 5 Oct 2002 12:25:17 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 18753 for review Message-ID: <200210051925.g95JPHbY047330@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=18753 Change 18753 by rwatson@rwatson_tislabs on 2002/10/05 12:24:58 Manually merge a few cleanups I made when I moved mac_check_vnode_link() over to the main tree. Affected files ... .. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#298 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#298 (text+ko) ==== @@ -2261,13 +2261,13 @@ } int -mac_check_vnode_link(struct ucred *cred, struct vnode *dvp, struct vnode *vp, - struct componentname *cnp) +mac_check_vnode_link(struct ucred *cred, struct vnode *dvp, + struct vnode *vp, struct componentname *cnp) { int error; - ASSERT_VOP_LOCKED(dvp, "mac_check_vnode_lookup"); - ASSERT_VOP_LOCKED(vp, "mac_check_vnode_lookup"); + ASSERT_VOP_LOCKED(dvp, "mac_check_vnode_link"); + ASSERT_VOP_LOCKED(vp, "mac_check_vnode_link"); if (!mac_enforce_fs) return (0); 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?200210051925.g95JPHbY047330>