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 pass in correct v...
details: https://anonhg.NetBSD.org/src/rev/a48508d8b7da
branches: trunk
changeset: 763137:a48508d8b7da
user: pooka <pooka%NetBSD.org@localhost>
date: Thu Mar 10 19:32:39 2011 +0000
description:
pass in correct variable, the old code can't possibly be correct.
diffstat:
external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 2bb81ec89b86 -r a48508d8b7da external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c Thu Mar 10 19:24:37 2011 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c Thu Mar 10 19:32:39 2011 +0000
@@ -485,7 +485,7 @@
vp = ZTOV(sharezp);
error = getnewvnode(VT_ZFS, zfsvfs->z_parent->z_vfs,
- zfs_vnodeop_p, &zp->z_vnode);
+ zfs_vnodeop_p, &sharezp->z_vnode);
vp->v_type = VDIR;
VERIFY(0 == zfs_acl_ids_create(sharezp, IS_ROOT_NODE, &vattr,
Home |
Main Index |
Thread Index |
Old Index