aboutsummaryrefslogtreecommitdiff
path: root/sys/netsmb
diff options
context:
space:
mode:
authorAttilio Rao <attilio@FreeBSD.org>2008-02-25 18:45:57 +0000
committerAttilio Rao <attilio@FreeBSD.org>2008-02-25 18:45:57 +0000
commit81c794f9983314f28ba954fb5e8982c61eb43569 (patch)
treed455fa541ca0d9b761f28e9c67c92fd959e44b2c /sys/netsmb
parentc32951b16ee254477b29e0168a17b13f6fb2f5da (diff)
downloadsrc-81c794f9983314f28ba954fb5e8982c61eb43569.tar.gz
src-81c794f9983314f28ba954fb5e8982c61eb43569.zip
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>
Notes
Notes: svn path=/head/; revision=176559
Diffstat (limited to 'sys/netsmb')
-rw-r--r--sys/netsmb/smb_conn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netsmb/smb_conn.c b/sys/netsmb/smb_conn.c
index 84ca7c141a3e..82f6382da1f8 100644
--- a/sys/netsmb/smb_conn.c
+++ b/sys/netsmb/smb_conn.c
@@ -336,7 +336,7 @@ smb_co_put(struct smb_connobj *cp, struct smb_cred *scred)
int
smb_co_lockstatus(struct smb_connobj *cp, struct thread *td)
{
- return lockstatus(&cp->co_lock, td);
+ return lockstatus(&cp->co_lock);
}
int