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 Initialize z_lock...
details: https://anonhg.NetBSD.org/src/rev/1bd5ddb1d79e
branches: trunk
changeset: 365076:1bd5ddb1d79e
user: hannken <hannken%NetBSD.org@localhost>
date: Tue Jul 31 09:33:50 2018 +0000
description:
Initialize z_lockf for new znodes.
Ok: Chuck Silvers
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 4777b1bd8872 -r 1bd5ddb1d79e external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c Tue Jul 31 09:19:34 2018 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c Tue Jul 31 09:33:50 2018 +0000
@@ -1309,6 +1309,7 @@
zp->z_blksz = blksz;
zp->z_seq = 0x7A4653;
zp->z_sync_cnt = 0;
+ zp->z_lockf = NULL;
zfs_znode_sa_init(zfsvfs, zp, db, obj_type, hdl);
Home |
Main Index |
Thread Index |
Old Index