- Enable ASSERT_VOP_ELOCKED and assert_vop_elocked() now that vnode_if.awk

uses it.

Sponsored by:	Isilon Systems, Inc.
This commit is contained in:
Jeff Roberson 2005-04-11 15:17:06 +00:00
parent 680a1ec631
commit 539de9eda0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144908
2 changed files with 3 additions and 3 deletions

View file

@ -3243,7 +3243,6 @@ assert_vop_unlocked(struct vnode *vp, const char *str)
vfs_badlock("is locked but should not be", str, vp);
}
#if 0
void
assert_vop_elocked(struct vnode *vp, const char *str)
{
@ -3253,6 +3252,7 @@ assert_vop_elocked(struct vnode *vp, const char *str)
vfs_badlock("is not exclusive locked but should be", str, vp);
}
#if 0
void
assert_vop_elocked_other(struct vnode *vp, const char *str)
{

View file

@ -478,8 +478,8 @@ extern struct vnodeop_desc *vnodeop_descs[];
*/
void assert_vi_locked(struct vnode *vp, const char *str);
void assert_vi_unlocked(struct vnode *vp, const char *str);
#if 0
void assert_vop_elocked(struct vnode *vp, const char *str);
#if 0
void assert_vop_elocked_other(struct vnode *vp, const char *str);
#endif
void assert_vop_locked(struct vnode *vp, const char *str);
@ -500,8 +500,8 @@ void vop_unlock_pre(void *a);
#define ASSERT_VI_LOCKED(vp, str) assert_vi_locked((vp), (str))
#define ASSERT_VI_UNLOCKED(vp, str) assert_vi_unlocked((vp), (str))
#if 0
#define ASSERT_VOP_ELOCKED(vp, str) assert_vop_elocked((vp), (str))
#if 0
#define ASSERT_VOP_ELOCKED_OTHER(vp, str) assert_vop_locked_other((vp), (str))
#endif
#define ASSERT_VOP_LOCKED(vp, str) assert_vop_locked((vp), (str))