From 1029f2ba6f80ade5417d48afc23cc015cf08b820 Mon Sep 17 00:00:00 2001 From: ae Date: Fri, 2 May 2014 21:30:59 +0000 Subject: MFC r264494: Use SMB_QUERY_FS_SIZE_INFO request to populate statfs structure. When server doesn't support this request, try to use SMB_INFO_ALLOCATION. And use SMB_COM_QUERY_INFORMATION_DISK request as fallback. MFC r264600: Remove redundant unlock. This code was removed from the opensolaris and darwin's netsmb implementations, in DfBSD it also has been disabled. --- sys/netsmb/smb_iod.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/netsmb/smb_iod.c') diff --git a/sys/netsmb/smb_iod.c b/sys/netsmb/smb_iod.c index e4c805a..dfdd6f2 100644 --- a/sys/netsmb/smb_iod.c +++ b/sys/netsmb/smb_iod.c @@ -87,8 +87,6 @@ smb_iod_invrq(struct smbiod *iod) */ SMB_IOD_RQLOCK(iod); TAILQ_FOREACH(rqp, &iod->iod_rqlist, sr_link) { - if (rqp->sr_flags & SMBR_INTERNAL) - SMBRQ_SUNLOCK(rqp); rqp->sr_flags |= SMBR_RESTART; smb_iod_rqprocessed(rqp, ENOTCONN); } -- cgit v1.1