Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Aug 2017 08:26:19 +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-10@freebsd.org
Subject:   svn commit: r322047 - stable/10/sys/ufs/ffs
Message-ID:  <201708040826.v748QJmk020355@repo.freebsd.org>

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

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

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

Modified: stable/10/sys/ufs/ffs/ffs_snapshot.c
==============================================================================
--- stable/10/sys/ufs/ffs/ffs_snapshot.c	Fri Aug  4 08:25:03 2017	(r322046)
+++ stable/10/sys/ufs/ffs/ffs_snapshot.c	Fri Aug  4 08:26:19 2017	(r322047)
@@ -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?201708040826.v748QJmk020355>