Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src/external/cddl/osnet/dist/uts/common/fs/zfs Pull up follow...
details: https://anonhg.NetBSD.org/src/rev/9922691c9d5a
branches: netbsd-9
changeset: 462416:9922691c9d5a
user: martin <martin%NetBSD.org@localhost>
date: Mon Aug 26 14:06:56 2019 +0000
description:
Pull up following revision(s) (requested by hannken in ticket #115):
external/cddl/osnet/dist/uts/common/fs/zfs/dnode.c: revision 1.8
Add missing dmu_zfetch_fini() when dnode_create() lost the race.
diffstat:
external/cddl/osnet/dist/uts/common/fs/zfs/dnode.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r f01da1cc7959 -r 9922691c9d5a external/cddl/osnet/dist/uts/common/fs/zfs/dnode.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/dnode.c Mon Aug 26 14:05:25 2019 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/dnode.c Mon Aug 26 14:06:56 2019 +0000
@@ -447,6 +447,9 @@
if (dnh->dnh_dnode != NULL) {
/* Lost the allocation race. */
mutex_exit(&os->os_lock);
+#ifdef __NetBSD__
+ dmu_zfetch_fini(&dn->dn_zfetch);
+#endif
kmem_cache_free(dnode_cache, dn);
return (dnh->dnh_dnode);
}
Home |
Main Index |
Thread Index |
Old Index