Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Aug 2017 08:18:17 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r322044 - stable/11/sys/ufs/ffs
Message-ID:  <201708040818.v748IHN9016291@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Fri Aug  4 08:18:17 2017
New Revision: 322044
URL: https://svnweb.freebsd.org/changeset/base/322044

Log:
  MFC r321348:
  Unlock correct lock in ffs_snapblkfree().

Modified:
  stable/11/sys/ufs/ffs/ffs_snapshot.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/ufs/ffs/ffs_snapshot.c
==============================================================================
--- stable/11/sys/ufs/ffs/ffs_snapshot.c	Fri Aug  4 08:16:05 2017	(r322043)
+++ stable/11/sys/ufs/ffs/ffs_snapshot.c	Fri Aug  4 08:18:17 2017	(r322044)
@@ -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);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708040818.v748IHN9016291>