Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dist/uts/common/fs/zfs Don't forget to d...
details: https://anonhg.NetBSD.org/src/rev/7fea7437a6b0
branches: trunk
changeset: 790176:7fea7437a6b0
user: christos <christos%NetBSD.org@localhost>
date: Mon Sep 23 19:42:42 2013 +0000
description:
Don't forget to destroy the mutex we created to the zfsvfs transient object,
otherwise if we load and unload the module the lockdebug code will blow chunks.
diffstat:
external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r e522a7cb9a34 -r 7fea7437a6b0 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c Mon Sep 23 17:57:59 2013 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c Mon Sep 23 19:42:42 2013 +0000
@@ -1618,6 +1618,7 @@
ASSERT(error == 0);
+ mutex_destroy(&zfsvfs.z_znodes_lock);
for (i = 0; i != ZFS_OBJ_MTX_SZ; i++)
mutex_destroy(&zfsvfs.z_hold_mtx[i]);
}
Home |
Main Index |
Thread Index |
Old Index