Hi,

Simple online diff for properly nullify v_data (which is `void *`)
with NULL instead of 0.

Comments or OK ?
-- 
Sebastien Marie


blob - 1f7409235f4696765c6b8b22e65d953b1d6e5100
blob + 8cb011e9c3e48fcc34b8ce62974cafd430bb4e6a
--- sys/kern/vfs_subr.c
+++ sys/kern/vfs_subr.c
@@ -469,7 +469,7 @@ getnewvnode(enum vtagtype tag, struct mount *mp, const
                panic("%s: free vnode %p isn't lock free", __func__, vp);
 #endif
        vp->v_usecount = 1;
-       vp->v_data = 0;
+       vp->v_data = NULL;
        return (0);
 }
 

Reply via email to