]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/vfs/vnode_if.sh
xnu-517.tar.gz
[apple/xnu.git] / bsd / vfs / vnode_if.sh
index 574dd9770be62ca265ccac520ed65249fb260f4f..84b383645a313072a1928fc8cbf64205c3dde929 100644 (file)
@@ -315,13 +315,15 @@ function doit() {
        printf("\t0");
        vpnum = 0;
        for (i=0; i<argc; i++) {
-               if (willrele[i]) {
-                       if (argdir[i] ~ /OUT/) {
-                               printf(" | VDESC_VPP_WILLRELE");
-                       } else {
-                               printf(" | VDESC_VP%s_WILLRELE", vpnum);
-                       };
-                       vpnum++;
+               if (match(argtype[i], "struct vnode *") == 1) {
+                       if (willrele[i]) {
+                               if (argdir[i] ~ /OUT/) {
+                                       printf(" | VDESC_VPP_WILLRELE");
+                               } else {
+                                       printf(" | VDESC_VP%s_WILLRELE", vpnum);
+                               };
+                       }
+               vpnum++;
                }
        }
        print ",";