summaryrefslogtreecommitdiffstats
path: root/sys/netsmb/smb_iod.c
diff options
context:
space:
mode:
authorbp <bp@FreeBSD.org>2001-08-21 09:10:23 +0000
committerbp <bp@FreeBSD.org>2001-08-21 09:10:23 +0000
commite46bed178b0e706fb1f91b80d8c5b12afcaa8eba (patch)
tree9acd4d6b0c62fbb0db76b1df96e614120ddbf22a /sys/netsmb/smb_iod.c
parent5d4db18126e8d5da39d822e72382d18d0d835855 (diff)
downloadFreeBSD-src-e46bed178b0e706fb1f91b80d8c5b12afcaa8eba.zip
FreeBSD-src-e46bed178b0e706fb1f91b80d8c5b12afcaa8eba.tar.gz
Use local wrappers instead of direct calls to mtx_destroy().
Obtained from: Mac OS X MFC after: 1 week
Diffstat (limited to 'sys/netsmb/smb_iod.c')
-rw-r--r--sys/netsmb/smb_iod.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netsmb/smb_iod.c b/sys/netsmb/smb_iod.c
index 8053303..f87d6e5 100644
--- a/sys/netsmb/smb_iod.c
+++ b/sys/netsmb/smb_iod.c
@@ -87,7 +87,7 @@ smb_iod_invrq(struct smbiod *iod)
struct smb_rq *rqp;
/*
- * Invalidate all outstanding requests for this connection
+ * Invalidate all outstanding requests for this connection
*/
SMB_IOD_RQLOCK(iod);
TAILQ_FOREACH(rqp, &iod->iod_rqlist, sr_link) {
@@ -689,8 +689,8 @@ int
smb_iod_destroy(struct smbiod *iod)
{
smb_iod_request(iod, SMBIOD_EV_SHUTDOWN | SMBIOD_EV_SYNC, NULL);
- mtx_destroy(&iod->iod_rqlock);
- mtx_destroy(&iod->iod_evlock);
+ smb_sl_destroy(&iod->iod_rqlock);
+ smb_sl_destroy(&iod->iod_evlock);
free(iod, M_SMBIOD);
return 0;
}
OpenPOWER on IntegriCloud