summaryrefslogtreecommitdiffstats
path: root/sys/netsmb
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2014-05-02 21:30:59 +0000
committerae <ae@FreeBSD.org>2014-05-02 21:30:59 +0000
commit1029f2ba6f80ade5417d48afc23cc015cf08b820 (patch)
treed05b56ce7a525e45c90838cbcbbec4f480636f2b /sys/netsmb
parent7c82f25917d62c786b1e156ebc9911bfbfbe3fd4 (diff)
downloadFreeBSD-src-1029f2ba6f80ade5417d48afc23cc015cf08b820.zip
FreeBSD-src-1029f2ba6f80ade5417d48afc23cc015cf08b820.tar.gz
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.
Diffstat (limited to 'sys/netsmb')
-rw-r--r--sys/netsmb/smb_iod.c2
1 files changed, 0 insertions, 2 deletions
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);
}
OpenPOWER on IntegriCloud