Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

zfs vs. uvmplock



hi folks.


this makes stuff build for me, and i think its right, but rmind would be
best to confirm/commit this.


.mrg.


Index: zfs_znode.c
===================================================================
RCS file: /cvsroot/src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_znode.c,v
retrieving revision 1.10
diff -p -u -r1.10 zfs_znode.c
--- zfs_znode.c 10 Mar 2011 19:32:39 -0000      1.10
+++ zfs_znode.c 12 Jun 2011 05:53:32 -0000
@@ -485,7 +485,7 @@ zfs_create_share_dir(zfsvfs_t *zfsvfs, d
 
        vp = ZTOV(sharezp);
        error = getnewvnode(VT_ZFS, zfsvfs->z_parent->z_vfs,
-           zfs_vnodeop_p, &sharezp->z_vnode);
+           zfs_vnodeop_p, /* XXXMRG right? */ NULL, &sharezp->z_vnode);
        vp->v_type = VDIR;
 
        VERIFY(0 == zfs_acl_ids_create(sharezp, IS_ROOT_NODE, &vattr,
@@ -617,7 +617,7 @@ zfs_znode_alloc(zfsvfs_t *zfsvfs, dmu_bu
        for (;;) {
 
                error = getnewvnode(VT_ZFS, zfsvfs->z_parent->z_vfs,
-                   zfs_vnodeop_p, &zp->z_vnode);
+                   zfs_vnodeop_p, /* XXXMRG right? */ NULL, &zp->z_vnode);
                if (__predict_true(error == 0))
                        break;
                printf("WARNING: zfs_znode_alloc: unable to get vnode, "
@@ -1556,7 +1556,7 @@ zfs_create_fs(objset_t *os, cred_t *cr, 
 
        for (;;) {
                error = getnewvnode(VT_ZFS, NULL, zfs_vnodeop_p,
-                   &rootzp->z_vnode);
+                   /* XXXMRG right? */ NULL, &rootzp->z_vnode);
                if (error == 0)
                        break;
                printf("WARNING: zfs_create_fs: unable to get vnode, "


Home | Main Index | Thread Index | Old Index