PERFORCE change 18753 for review
Robert Watson
rwatson at freebsd.org
Sat Oct 5 19:25:17 GMT 2002
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=18753
Change 18753 by rwatson at 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 at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list