svn commit: r297095 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Alexander Motin
mav at FreeBSD.org
Sun Mar 20 23:52:46 UTC 2016
Author: mav
Date: Sun Mar 20 23:52:45 2016
New Revision: 297095
URL: https://svnweb.freebsd.org/changeset/base/297095
Log:
MFC r294801: MFV r294800: 6385 Fix unlocking order in zfs_zget
Reviewed by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed by: Matthew Ahrens <mahrens at delphix.com>
Reviewed by: Dan Kimmel <dan.kimmel at delphix.com>
Reviewed by: Andriy Gapon <avg at freebsd.org>
Approved by: Robert Mustacchi <rm at joyent.com>
Author: Richard Yao <ryao at gentoo.org>
illumos/illumos-gate at eaef6a96de3f6afbbccc69bd7a0aed4463689d0a
Modified:
stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c
==============================================================================
--- stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c Sun Mar 20 23:51:56 2016 (r297094)
+++ stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c Sun Mar 20 23:52:45 2016 (r297095)
@@ -1175,13 +1175,13 @@ again:
*zpp = zp;
err = 0;
}
- sa_buf_rele(db, NULL);
/* Don't let the vnode disappear after ZFS_OBJ_HOLD_EXIT. */
if (err == 0)
VN_HOLD(vp);
mutex_exit(&zp->z_lock);
+ sa_buf_rele(db, NULL);
ZFS_OBJ_HOLD_EXIT(zfsvfs, obj_num);
if (err == 0) {
More information about the svn-src-stable-10
mailing list