aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/smbfs/smbfs_io.c
diff options
context:
space:
mode:
authorAttilio Rao <attilio@FreeBSD.org>2008-01-10 01:10:58 +0000
committerAttilio Rao <attilio@FreeBSD.org>2008-01-10 01:10:58 +0000
commitcb05b60a8982e5497cd30449710deb2f4be653d4 (patch)
treec4e28d990eaa525916ab09f2bd1d9c6ddf2c8dea /sys/fs/smbfs/smbfs_io.c
parent71e3b145e380a641c1129e0363ecb2f5ebbb09f2 (diff)
downloadsrc-cb05b60a8982e5497cd30449710deb2f4be653d4.tar.gz
src-cb05b60a8982e5497cd30449710deb2f4be653d4.zip
Notes
Diffstat (limited to 'sys/fs/smbfs/smbfs_io.c')
-rw-r--r--sys/fs/smbfs/smbfs_io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/smbfs/smbfs_io.c b/sys/fs/smbfs/smbfs_io.c
index 98008be2b206..14ebdb72607c 100644
--- a/sys/fs/smbfs/smbfs_io.c
+++ b/sys/fs/smbfs/smbfs_io.c
@@ -205,10 +205,10 @@ smbfs_readvnode(struct vnode *vp, struct uio *uiop, struct ucred *cred)
if (vp->v_type == VDIR) {
lks = LK_EXCLUSIVE;/*lockstatus(vp->v_vnlock, td);*/
if (lks == LK_SHARED)
- vn_lock(vp, LK_UPGRADE | LK_RETRY, td);
+ vn_lock(vp, LK_UPGRADE | LK_RETRY);
error = smbfs_readvdir(vp, uiop, cred);
if (lks == LK_SHARED)
- vn_lock(vp, LK_DOWNGRADE | LK_RETRY, td);
+ vn_lock(vp, LK_DOWNGRADE | LK_RETRY);
return error;
}