[BACK]Return to vfs_mount.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_mount.c between version 1.65.2.2 and 1.66

version 1.65.2.2, 2017/08/25 05:46:46 version 1.66, 2017/06/04 08:05:42
Line 558  vflush_one(vnode_t *vp, vnode_t *skipvp,
Line 558  vflush_one(vnode_t *vp, vnode_t *skipvp,
                 return 0;                  return 0;
         /*          /*
          * If FORCECLOSE is set, forcibly close the vnode.           * If FORCECLOSE is set, forcibly close the vnode.
          * For block or character devices, revert to an  
          * anonymous device.  For all other files, just  
          * kill them.  
          */           */
         if (flags & FORCECLOSE) {          if (flags & FORCECLOSE) {
                 if (vp->v_usecount > 1 &&                  vgone(vp);
                     (vp->v_type == VBLK || vp->v_type == VCHR))  
                         vcache_make_anon(vp);  
                 else  
                         vgone(vp);  
                 return 0;                  return 0;
         }          }
         vrele(vp);          vrele(vp);

Legend:
Removed from v.1.65.2.2  
changed lines
  Added in v.1.66

CVSweb <webmaster@jp.NetBSD.org>