[BACK]Return to vfs_vnode.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/kern/vfs_vnode.c between version 1.14 and 1.14.6.1

version 1.14, 2011/10/07 09:35:06 version 1.14.6.1, 2012/02/18 07:35:35
Line 637  vrelel(vnode_t *vp, int flags)
Line 637  vrelel(vnode_t *vp, int flags)
   
         KASSERT((vp->v_iflag & VI_XLOCK) == 0);          KASSERT((vp->v_iflag & VI_XLOCK) == 0);
   
   #ifdef DIAGNOSTIC
           if ((vp->v_type == VBLK || vp->v_type == VCHR) &&
               vp->v_specnode != NULL && vp->v_specnode->sn_opencnt != 0) {
                   vprint("vrelel: missing VOP_CLOSE()", vp);
           }
   #endif
   
         /*          /*
          * If not clean, deactivate the vnode, but preserve           * If not clean, deactivate the vnode, but preserve
          * our reference across the call to VOP_INACTIVE().           * our reference across the call to VOP_INACTIVE().
Line 706  retry:
Line 713  retry:
                         return;                          return;
                 }                  }
   
 #ifdef DIAGNOSTIC  
                 if ((vp->v_type == VBLK || vp->v_type == VCHR) &&  
                     vp->v_specnode != NULL && vp->v_specnode->sn_opencnt != 0) {  
                         vprint("vrelel: missing VOP_CLOSE()", vp);  
                 }  
 #endif  
   
                 /*                  /*
                  * The vnode can gain another reference while being                   * The vnode can gain another reference while being
                  * deactivated.  If VOP_INACTIVE() indicates that                   * deactivated.  If VOP_INACTIVE() indicates that

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.14.6.1

CVSweb <webmaster@jp.NetBSD.org>