summaryrefslogtreecommitdiffstats
path: root/sys/fs/unionfs/union_vfsops.c
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2008-02-25 18:45:57 +0000
committerattilio <attilio@FreeBSD.org>2008-02-25 18:45:57 +0000
commit4014b558307253555f43f360be60f49ea39b7ceb (patch)
treed455fa541ca0d9b761f28e9c67c92fd959e44b2c /sys/fs/unionfs/union_vfsops.c
parent49cb35343eeaa02f4e480228eb7148a3305d3b70 (diff)
downloadFreeBSD-src-4014b558307253555f43f360be60f49ea39b7ceb.zip
FreeBSD-src-4014b558307253555f43f360be60f49ea39b7ceb.tar.gz
Axe the 'thread' argument from VOP_ISLOCKED() and lockstatus() as it is
always curthread. As KPI gets broken by this patch, manpages and __FreeBSD_version will be updated by further commits. Tested by: Andrea Barberio <insomniac at slackware dot it>
Diffstat (limited to 'sys/fs/unionfs/union_vfsops.c')
-rw-r--r--sys/fs/unionfs/union_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/unionfs/union_vfsops.c b/sys/fs/unionfs/union_vfsops.c
index 75ab212..4c56661 100644
--- a/sys/fs/unionfs/union_vfsops.c
+++ b/sys/fs/unionfs/union_vfsops.c
@@ -425,7 +425,7 @@ unionfs_root(struct mount *mp, int flags, struct vnode **vpp, struct thread *td)
vp = ump->um_rootvp;
UNIONFSDEBUG("unionfs_root: rootvp=%p locked=%x\n",
- vp, VOP_ISLOCKED(vp, td));
+ vp, VOP_ISLOCKED(vp));
vref(vp);
if (flags & LK_TYPE_MASK)
OpenPOWER on IntegriCloud