From bd5c63c83ea976832f7550a827fef3e15159b558 Mon Sep 17 00:00:00 2001 From: rwatson Date: Sun, 2 Nov 2008 23:20:27 +0000 Subject: Catch up with netsmb locking: explicit thread arguments no longer required. --- sys/fs/smbfs/smbfs_vfsops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/fs') 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); -- cgit v1.1