summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-11-02 23:20:27 +0000
committerrwatson <rwatson@FreeBSD.org>2008-11-02 23:20:27 +0000
commitbd5c63c83ea976832f7550a827fef3e15159b558 (patch)
tree6582d2c13aaaeace3b7a32cec1ba0c55bfb2bf4b /sys/fs
parent4de0ed8a13e19ea3c0d32de28e7f1974cc2a0490 (diff)
downloadFreeBSD-src-bd5c63c83ea976832f7550a827fef3e15159b558.zip
FreeBSD-src-bd5c63c83ea976832f7550a827fef3e15159b558.tar.gz
Catch up with netsmb locking: explicit thread arguments no longer required.
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/smbfs/smbfs_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/smbfs/smbfs_vfsops.c b/sys/fs/smbfs/smbfs_vfsops.c
index 9e1dc16..71b3960 100644
--- a/sys/fs/smbfs/smbfs_vfsops.c
+++ b/sys/fs/smbfs/smbfs_vfsops.c
@@ -173,7 +173,7 @@ smbfs_mount(struct mount *mp, struct thread *td)
return error;
}
vcp = SSTOVC(ssp);
- smb_share_unlock(ssp, 0, td);
+ smb_share_unlock(ssp, 0);
mp->mnt_stat.f_iosize = SSTOVC(ssp)->vc_txmax;
#ifdef SMBFS_USEZONE
@@ -305,7 +305,7 @@ smbfs_unmount(struct mount *mp, int mntflags, struct thread *td)
if (error)
return error;
smb_makescred(&scred, td, td->td_ucred);
- error = smb_share_lock(smp->sm_share, LK_EXCLUSIVE, td);
+ error = smb_share_lock(smp->sm_share, LK_EXCLUSIVE);
if (error)
return error;
smb_share_put(smp->sm_share, &scred);
OpenPOWER on IntegriCloud