aboutsummaryrefslogtreecommitdiff
path: root/sys/netsmb
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2008-11-02 23:20:27 +0000
committerRobert Watson <rwatson@FreeBSD.org>2008-11-02 23:20:27 +0000
commit2b7da2dbf18b4848fc6bc0b105564dc50ab61c6e (patch)
tree6582d2c13aaaeace3b7a32cec1ba0c55bfb2bf4b /sys/netsmb
parente3b3762b32e3c02974f3512a3d3756380c519898 (diff)
downloadsrc-2b7da2dbf18b4848fc6bc0b105564dc50ab61c6e.tar.gz
src-2b7da2dbf18b4848fc6bc0b105564dc50ab61c6e.zip
Catch up with netsmb locking: explicit thread arguments no longer required.
Notes
Notes: svn path=/head/; revision=184572
Diffstat (limited to 'sys/netsmb')
-rw-r--r--sys/netsmb/smb_dev.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netsmb/smb_dev.c b/sys/netsmb/smb_dev.c
index 50cc64420235..084536350bb7 100644
--- a/sys/netsmb/smb_dev.c
+++ b/sys/netsmb/smb_dev.c
@@ -204,7 +204,7 @@ nsmb_dev_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thre
if (error)
break;
sdp->sd_vc = vcp;
- smb_vc_unlock(vcp, 0, td);
+ smb_vc_unlock(vcp, 0);
sdp->sd_level = SMBL_VC;
break;
case SMBIOC_OPENSHARE:
@@ -217,7 +217,7 @@ nsmb_dev_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thre
if (error)
break;
sdp->sd_share = ssp;
- smb_share_unlock(ssp, 0, td);
+ smb_share_unlock(ssp, 0);
sdp->sd_level = SMBL_SHARE;
break;
case SMBIOC_REQUEST:
@@ -287,12 +287,12 @@ nsmb_dev_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thre
break;
if (vcp) {
sdp->sd_vc = vcp;
- smb_vc_unlock(vcp, 0, td);
+ smb_vc_unlock(vcp, 0);
sdp->sd_level = SMBL_VC;
}
if (ssp) {
sdp->sd_share = ssp;
- smb_share_unlock(ssp, 0, td);
+ smb_share_unlock(ssp, 0);
sdp->sd_level = SMBL_SHARE;
}
break;