Add missing DTrace probe invocation to mac_vnode_check_open; the probe

was declared, but never used.

MFC after:	3 days
Sponsored by:	Google, Inc.
This commit is contained in:
Robert Watson 2010-10-23 16:59:39 +00:00
parent 880cb81c5a
commit a959b1f02c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=214249

View File

@ -637,6 +637,8 @@ mac_vnode_check_open(struct ucred *cred, struct vnode *vp, accmode_t accmode)
ASSERT_VOP_LOCKED(vp, "mac_vnode_check_open");
MAC_POLICY_CHECK(vnode_check_open, cred, vp, vp->v_label, accmode);
MAC_CHECK_PROBE3(vnode_check_open, error, cred, vp, accmode);
return (error);
}