diff options
author | jhb <jhb@FreeBSD.org> | 2012-03-08 20:27:20 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2012-03-08 20:27:20 +0000 |
commit | 19feaba08bc6b84c117bd21cc71e139c6d086ed7 (patch) | |
tree | 8f19e446f40b0494d383b5102ee060aeb4617503 /sys/ufs | |
parent | 4fea355eb2254754b2e522d87d81c5562252116a (diff) | |
download | FreeBSD-src-19feaba08bc6b84c117bd21cc71e139c6d086ed7.zip FreeBSD-src-19feaba08bc6b84c117bd21cc71e139c6d086ed7.tar.gz |
Add KTR_VFS traces to track modifications to a vnode's writecount.
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ufs/ufs_extattr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ufs/ufs/ufs_extattr.c b/sys/ufs/ufs/ufs_extattr.c index 777f385..210d05a 100644 --- a/sys/ufs/ufs/ufs_extattr.c +++ b/sys/ufs/ufs/ufs_extattr.c @@ -335,6 +335,8 @@ ufs_extattr_enable_with_open(struct ufsmount *ump, struct vnode *vp, } vp->v_writecount++; + CTR3(KTR_VFS, "%s: vp %p v_writecount increased to %d", __func__, vp, + vp->v_writecount); vref(vp); |