aboutsummaryrefslogtreecommitdiff
path: root/sys/cam
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2014-07-08 13:28:37 +0000
committerAlexander Motin <mav@FreeBSD.org>2014-07-08 13:28:37 +0000
commitd6205772dab36c0ae445ed0bbc7408ae60df6b01 (patch)
tree97a5728b70f57084c979c3e01a25eb0c88bbcefc /sys/cam
parent950b6e126b98014e2b258a304c151739aa5026ca (diff)
downloadsrc-d6205772dab36c0ae445ed0bbc7408ae60df6b01.tar.gz
src-d6205772dab36c0ae445ed0bbc7408ae60df6b01.zip
Fix typo in r267873.
Notes
Notes: svn path=/head/; revision=268398
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 f7d5e41d33f5..f65ec7e7fdf3 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);
}