summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2017-08-04 08:26:19 +0000
committerkib <kib@FreeBSD.org>2017-08-04 08:26:19 +0000
commit0e401ee9a5955da824e8341c01f09992e48afe4e (patch)
treefa934d4c26528f9c4b91b4e00bb9e9f0b72c7f0c
parent99a4ec7c175e9daab4a444bb06aed4111a43c5a1 (diff)
downloadFreeBSD-src-0e401ee9a5955da824e8341c01f09992e48afe4e.zip
FreeBSD-src-0e401ee9a5955da824e8341c01f09992e48afe4e.tar.gz
MFC r321348:
Unlock correct lock in ffs_snapblkfree().
-rw-r--r--sys/ufs/ffs/ffs_snapshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_snapshot.c b/sys/ufs/ffs/ffs_snapshot.c
index eaf1d02..e80a7ad 100644
--- a/sys/ufs/ffs/ffs_snapshot.c
+++ b/sys/ufs/ffs/ffs_snapshot.c
@@ -1944,7 +1944,7 @@ retry:
*/
if (error != 0 && wkhd != NULL)
softdep_freework(wkhd);
- lockmgr(vp->v_vnlock, LK_RELEASE, NULL);
+ lockmgr(&sn->sn_lock, LK_RELEASE, NULL);
return (error);
}
OpenPOWER on IntegriCloud