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 NetBSD does not h...
details: https://anonhg.NetBSD.org/src/rev/c556ef74575a
branches: trunk
changeset: 790799:c556ef74575a
user: christos <christos%NetBSD.org@localhost>
date: Mon Oct 21 15:31:26 2013 +0000
description:
NetBSD does not have vn_in_dnlc
diffstat:
external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r f54f6ae25623 -r c556ef74575a external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c Mon Oct 21 15:13:09 2013 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c Mon Oct 21 15:31:26 2013 +0000
@@ -497,7 +497,9 @@
zfs_mknode(sharezp, &vattr, tx, kcred, IS_ROOT_NODE,
&zp, 0, &acl_ids);
ASSERT3P(zp, ==, sharezp);
+#ifndef __NetBSD__
ASSERT(!vn_in_dnlc(ZTOV(sharezp))); /* not valid to move */
+#endif
POINTER_INVALIDATE(&sharezp->z_zfsvfs);
error = zap_add(zfsvfs->z_os, MASTER_NODE_OBJ,
ZFS_SHARES_DIR, 8, 1, &sharezp->z_id, tx);
Home |
Main Index |
Thread Index |
Old Index