summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-07-08 13:28:37 +0000
committermav <mav@FreeBSD.org>2014-07-08 13:28:37 +0000
commit57e388ec908c0b88402d8ba6ae43b38fc2de45f4 (patch)
tree97a5728b70f57084c979c3e01a25eb0c88bbcefc /sys/cam
parent0fef4e14362464b5a096b7b75effb2c257d4d13f (diff)
downloadFreeBSD-src-57e388ec908c0b88402d8ba6ae43b38fc2de45f4.zip
FreeBSD-src-57e388ec908c0b88402d8ba6ae43b38fc2de45f4.tar.gz
Fix typo in r267873.
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/ctl/ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/ctl/ctl.c b/sys/cam/ctl/ctl.c
index f7d5e41..f65ec7e 100644
--- a/sys/cam/ctl/ctl.c
+++ b/sys/cam/ctl/ctl.c
@@ -11822,7 +11822,7 @@ ctl_lun_reset(struct ctl_lun *lun, union ctl_io *io, ctl_ua_type ua_type)
ctl_clear_mask(lun->have_ca, i);
lun->pending_sense[i].ua_pending |= ua_type;
}
- mtx_lock(&lun->lun_lock);
+ mtx_unlock(&lun->lun_lock);
return (0);
}
OpenPOWER on IntegriCloud