- 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 2005-04-11 15:17:06 +00:00
parent 0e9da1cbe7
commit b391d2675b
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))