aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/udf
diff options
context:
space:
mode:
authorAttilio Rao <attilio@FreeBSD.org>2008-01-24 12:34:30 +0000
committerAttilio Rao <attilio@FreeBSD.org>2008-01-24 12:34:30 +0000
commit0e9eb108f034c1ec44b2eb718685a854604ced4c (patch)
treec29223c268b9510bd1f4bee082ad1de97c817c24 /sys/fs/udf
parentdb8665e64954e22ee61f796b7a2c50f49a0fd6b6 (diff)
downloadsrc-0e9eb108f034c1ec44b2eb718685a854604ced4c.tar.gz
src-0e9eb108f034c1ec44b2eb718685a854604ced4c.zip
Cleanup lockmgr interface and exported KPI:
- Remove the "thread" argument from the lockmgr() function as it is always curthread now - Axe lockcount() function as it is no longer used - Axe LOCKMGR_ASSERT() as it is bogus really and no currently used. Hopefully this will be soonly replaced by something suitable for it. - Remove the prototype for dumplockinfo() as the function is no longer present Addictionally: - Introduce a KASSERT() in lockstatus() in order to let it accept only curthread or NULL as they should only be passed - Do a little bit of style(9) cleanup on lockmgr.h KPI results heavilly broken by this change, so manpages and FreeBSD_version will be modified accordingly by further commits. Tested by: matteo
Notes
Notes: svn path=/head/; revision=175635
Diffstat (limited to 'sys/fs/udf')
-rw-r--r--sys/fs/udf/udf_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/udf/udf_vfsops.c b/sys/fs/udf/udf_vfsops.c
index 362a33789ab4..74859914ffce 100644
--- a/sys/fs/udf/udf_vfsops.c
+++ b/sys/fs/udf/udf_vfsops.c
@@ -613,7 +613,7 @@ udf_vget(struct mount *mp, ino_t ino, int flags, struct vnode **vpp)
unode->udfmp = udfmp;
vp->v_data = unode;
- lockmgr(vp->v_vnlock, LK_EXCLUSIVE, NULL, td);
+ lockmgr(vp->v_vnlock, LK_EXCLUSIVE, NULL);
error = insmntque(vp, mp);
if (error != 0) {
uma_zfree(udf_zone_node, unode);