From d6205772dab36c0ae445ed0bbc7408ae60df6b01 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Tue, 8 Jul 2014 13:28:37 +0000 Subject: [PATCH] Fix typo in r267873. --- sys/cam/ctl/ctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/cam/ctl/ctl.c b/sys/cam/ctl/ctl.c index f7d5e41d33f..f65ec7e7fdf 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); }